Enum amy::ChannelError
[−]
[src]
pub enum ChannelError<T> { SendError(SendError<T>), TrySendError(TrySendError<T>), TryRecvError(TryRecvError), Io(Error), }
Variants
SendError(SendError<T>)
TrySendError(TrySendError<T>)
TryRecvError(TryRecvError)
Io(Error)
Trait Implementations
impl<T: Debug> Debug for ChannelError<T>
[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more
impl<T> From<Error> for ChannelError<T>
[src]
fn from(e: Error) -> ChannelError<T>
[src]
Performs the conversion.
impl<T> From<SendError<T>> for ChannelError<T>
[src]
fn from(e: SendError<T>) -> ChannelError<T>
[src]
Performs the conversion.
impl<T> From<TrySendError<T>> for ChannelError<T>
[src]
fn from(e: TrySendError<T>) -> ChannelError<T>
[src]
Performs the conversion.
impl<T> From<TryRecvError> for ChannelError<T>
[src]
fn from(e: TryRecvError) -> ChannelError<T>
[src]
Performs the conversion.
Auto Trait Implementations
impl<T> Send for ChannelError<T> where
T: Send,
T: Send,
impl<T> Sync for ChannelError<T> where
T: Sync,
T: Sync,