Enum tarpc::client::ChannelError [−][src]
pub enum ChannelError<E> where
E: Error + Send + Sync + 'static, {
Read(E),
Ready(E),
Write(E),
Flush(E),
Timer(Error),
}
Expand description
Critical errors that result in a Channel disconnecting.
Variants
Could not read from the transport.
Could not ready the transport for writes.
Could not write to the transport.
Could not flush the transport.
Timer(Error)
Could not poll expired requests.
Tuple Fields of Timer
0: Error
Trait Implementations
Auto Trait Implementations
impl<E> RefUnwindSafe for ChannelError<E> where
E: RefUnwindSafe,
impl<E> Send for ChannelError<E>
impl<E> Sync for ChannelError<E>
impl<E> Unpin for ChannelError<E> where
E: Unpin,
impl<E> UnwindSafe for ChannelError<E> where
E: UnwindSafe,
Blanket Implementations
Mutably borrows from an owned value. Read more
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more
pub fn vzip(self) -> V
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more