Enum tokio::sync::mpsc::error::SendTimeoutError [−][src]
pub enum SendTimeoutError<T> { Timeout(T), Closed(T), }
Error returned by Sender::send_timeout
].
Variants
The data could not be sent on the channel because the channel is full, and the timeout to send has elapsed.
The receive half of the channel was explicitly closed or has been dropped.
Trait Implementations
impl<T: Debug> Debug for SendTimeoutError<T>
[src]
impl<T: Debug> Debug for SendTimeoutError<T>
[src]Auto Trait Implementations
impl<T> RefUnwindSafe for SendTimeoutError<T> where
T: RefUnwindSafe,
T: RefUnwindSafe,
impl<T> Send for SendTimeoutError<T> where
T: Send,
T: Send,
impl<T> Sync for SendTimeoutError<T> where
T: Sync,
T: Sync,
impl<T> Unpin for SendTimeoutError<T> where
T: Unpin,
T: Unpin,
impl<T> UnwindSafe for SendTimeoutError<T> where
T: UnwindSafe,
T: UnwindSafe,