Enum tiny_actor::TrySendError
source · [−]pub enum TrySendError<M> {
Closed(M),
Full(M),
}Expand description
An error returned when trying to send a message into a Channel, but not waiting for space.
This can be either because the Channel is closed, or because it is full.
Variants
Closed(M)
Full(M)
Trait Implementations
sourceimpl<M: Clone> Clone for TrySendError<M>
impl<M: Clone> Clone for TrySendError<M>
sourcefn clone(&self) -> TrySendError<M>
fn clone(&self) -> TrySendError<M>
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<M: Debug> Debug for TrySendError<M>
impl<M: Debug> Debug for TrySendError<M>
Auto Trait Implementations
impl<M> RefUnwindSafe for TrySendError<M> where
M: RefUnwindSafe,
impl<M> Send for TrySendError<M> where
M: Send,
impl<M> Sync for TrySendError<M> where
M: Sync,
impl<M> Unpin for TrySendError<M> where
M: Unpin,
impl<M> UnwindSafe for TrySendError<M> where
M: UnwindSafe,
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
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