Enum tokio::sync::mpsc::error::TrySendError [−][src]
pub enum TrySendError<T> { Full(T), Closed(T), }
This enumeration is the list of the possible error outcomes for the try_send method.
Variants
The data could not be sent on the channel because the channel is currently full and sending would require blocking.
The receive half of the channel was explicitly closed or has been dropped.
Trait Implementations
impl<T: Debug> Error for TrySendError<T>
[src]
impl<T: Debug> Error for TrySendError<T>
[src]impl<T> From<SendError<T>> for TrySendError<T>
[src]
impl<T> From<SendError<T>> for TrySendError<T>
[src]fn from(src: SendError<T>) -> 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,