Enum async_std::channel::TrySendError [−][src]
pub enum TrySendError<T> {
Full(T),
Closed(T),
}An error returned from Sender::try_send().
Variants
The channel is full but not closed.
The channel is closed.
Implementations
impl<T> TrySendError<T>[src]
impl<T> TrySendError<T>[src]Trait Implementations
impl<T> Clone for TrySendError<T> where
T: Clone, [src]
impl<T> Clone for TrySendError<T> where
T: Clone, [src]pub fn clone(&self) -> TrySendError<T>[src]
pub fn clone_from(&mut self, source: &Self)1.0.0[src]
impl<T> Debug for TrySendError<T>[src]
impl<T> Debug for TrySendError<T>[src]impl<T> Display for TrySendError<T>[src]
impl<T> Display for TrySendError<T>[src]impl<T> Error for TrySendError<T>[src]
impl<T> Error for TrySendError<T>[src]impl<T> PartialEq<TrySendError<T>> for TrySendError<T> where
T: PartialEq<T>, [src]
impl<T> PartialEq<TrySendError<T>> for TrySendError<T> where
T: PartialEq<T>, [src]pub fn eq(&self, other: &TrySendError<T>) -> bool[src]
pub fn ne(&self, other: &TrySendError<T>) -> bool[src]
impl<T> Copy for TrySendError<T> where
T: Copy, [src]
T: Copy,
impl<T> Eq for TrySendError<T> where
T: Eq, [src]
T: Eq,
impl<T> StructuralEq for TrySendError<T>[src]
impl<T> StructuralPartialEq for TrySendError<T>[src]
Auto Trait Implementations
impl<T> RefUnwindSafe for TrySendError<T> where
T: RefUnwindSafe,
T: RefUnwindSafe,
impl<T> Send for TrySendError<T> where
T: Send,
T: Send,
impl<T> Sync for TrySendError<T> where
T: Sync,
T: Sync,
impl<T> Unpin for TrySendError<T> where
T: Unpin,
T: Unpin,
impl<T> UnwindSafe for TrySendError<T> where
T: UnwindSafe,
T: UnwindSafe,