Enum tonari_actor::SendErrorReason
source · [−]pub enum SendErrorReason {
Full,
Disconnected,
}Expand description
Reasons why sending a message to an actor can fail.
Variants
Full
The channel’s capacity is full.
Disconnected
The recipient of the message no longer exists.
Trait Implementations
sourceimpl Clone for SendErrorReason
impl Clone for SendErrorReason
sourcefn clone(&self) -> SendErrorReason
fn clone(&self) -> SendErrorReason
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source. Read more
sourceimpl Debug for SendErrorReason
impl Debug for SendErrorReason
sourceimpl<M> From<TrySendError<M>> for SendErrorReason
impl<M> From<TrySendError<M>> for SendErrorReason
sourcefn 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 RefUnwindSafe for SendErrorReason
impl Send for SendErrorReason
impl Sync for SendErrorReason
impl Unpin for SendErrorReason
impl UnwindSafe for SendErrorReason
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more