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.
impl Copy for SubscriptionAcceptRejectError
Auto Trait Implementations§
impl RefUnwindSafe for SubscriptionAcceptRejectError
impl Send for SubscriptionAcceptRejectError
impl Sync for SubscriptionAcceptRejectError
impl Unpin for SubscriptionAcceptRejectError
impl UnwindSafe for SubscriptionAcceptRejectError
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more