Enum tonari_actor::SendErrorReason
source · pub enum SendErrorReason {
Full,
Disconnected,
}
Expand description
Reasons why sending a message to an actor can fail.
Variants§
Trait Implementations§
source§impl Clone for SendErrorReason
impl Clone for SendErrorReason
source§fn clone(&self) -> SendErrorReason
fn clone(&self) -> SendErrorReason
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 Debug for SendErrorReason
impl Debug for SendErrorReason
source§impl<M> From<TrySendError<M>> for SendErrorReason
impl<M> From<TrySendError<M>> for SendErrorReason
source§fn from(orig: TrySendError<M>) -> Self
fn from(orig: TrySendError<M>) -> Self
Converts to this type from the input type.
impl Copy for SendErrorReason
Auto Trait Implementations§
impl Freeze for SendErrorReason
impl RefUnwindSafe for SendErrorReason
impl Send for SendErrorReason
impl Sync for SendErrorReason
impl Unpin for SendErrorReason
impl UnwindSafe for SendErrorReason
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