pub enum SubscriptionAcceptRejectError {
AlreadyCalled,
RemotePeerAborted,
}
Expand description
The error returned while accepting or rejecting a subscription.
Variants§
AlreadyCalled
The method was already called.
RemotePeerAborted
The remote peer closed the connection or called the unsubscribe method.
Trait Implementations§
source§impl Clone for SubscriptionAcceptRejectError
impl Clone for SubscriptionAcceptRejectError
source§fn clone(&self) -> SubscriptionAcceptRejectError
fn clone(&self) -> SubscriptionAcceptRejectError
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl From<SubscriptionAcceptRejectError> for SubscriptionEmptyError
impl From<SubscriptionAcceptRejectError> for SubscriptionEmptyError
source§fn from(_: SubscriptionAcceptRejectError) -> Self
fn from(_: SubscriptionAcceptRejectError) -> Self
Converts to this type from the input type.