Enum mio_extras::channel::TrySendError [−][src]
pub enum TrySendError<T> {
Io(Error),
Full(T),
Disconnected(T),
}An error returned from the SyncSender::try_send function.
Variants
Io(Error)An IO error.
Data could not be sent because it would require the callee to block.
The receiving half of the channel has disconnected.
Trait Implementations
impl<T: Any> Error for TrySendError<T>[src]
impl<T: Any> Error for TrySendError<T>[src]impl<T> From<Error> for TrySendError<T>[src]
impl<T> From<Error> for TrySendError<T>[src]fn from(src: Error) -> 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]
impl<T> From<TrySendError<T>> for TrySendError<T>[src]
impl<T> From<TrySendError<T>> for TrySendError<T>[src]fn from(src: TrySendError<T>) -> TrySendError<T>[src]
Auto Trait Implementations
impl<T> !RefUnwindSafe for TrySendError<T>
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,