Enum rbatis_core::runtime::channel::TrySendError [−]
pub enum TrySendError<T> {
Full(T),
Closed(T),
}Expand description
An error returned from Sender::try_send().
Variants
The channel is full but not closed.
The channel is closed.
Implementations
impl<T> TrySendError<T>
impl<T> TrySendError<T>
pub fn into_inner(self) -> T
pub fn into_inner(self) -> T
Unwraps the message that couldn’t be sent.
Trait Implementations
impl<T> Clone for TrySendError<T> where
T: Clone,
impl<T> Clone for TrySendError<T> where
T: Clone,
pub fn clone(&self) -> TrySendError<T>
pub fn clone(&self) -> TrySendError<T>
Returns a copy of the value. Read more
Performs copy-assignment from source. Read more
impl<T> Debug for TrySendError<T>
impl<T> Debug for TrySendError<T>
impl<T> Display for TrySendError<T>
impl<T> Display for TrySendError<T>
impl<T> Error for TrySendError<T>
impl<T> Error for TrySendError<T>
impl<T> PartialEq<TrySendError<T>> for TrySendError<T> where
T: PartialEq<T>,
impl<T> PartialEq<TrySendError<T>> for TrySendError<T> where
T: PartialEq<T>,
pub fn eq(&self, other: &TrySendError<T>) -> bool
pub fn eq(&self, other: &TrySendError<T>) -> bool
This method tests for self and other values to be equal, and is used
by ==. Read more
pub fn ne(&self, other: &TrySendError<T>) -> bool
pub fn ne(&self, other: &TrySendError<T>) -> bool
This method tests for !=.
impl<T> Copy for TrySendError<T> where
T: Copy,
impl<T> Eq for TrySendError<T> where
T: Eq,
impl<T> StructuralEq for TrySendError<T>
impl<T> StructuralPartialEq for TrySendError<T>
Auto Trait Implementations
impl<T> RefUnwindSafe for TrySendError<T> where
T: RefUnwindSafe,
impl<T> Send for TrySendError<T> where
T: Send,
impl<T> Sync for TrySendError<T> where
T: Sync,
impl<T> Unpin for TrySendError<T> where
T: Unpin,
impl<T> UnwindSafe for TrySendError<T> where
T: UnwindSafe,
Blanket Implementations
Mutably borrows from an owned value. Read more