pub enum SendError<T> {
Full(T),
Closed(T),
}
Variants§
Implementations§
source§impl<T> SendError<T>
impl<T> SendError<T>
pub fn into_inner(self) -> T
Trait Implementations§
source§impl<T> Fail for SendError<T>where
T: Send + Sync + 'static,
impl<T> Fail for SendError<T>where
T: Send + Sync + 'static,
source§fn cause(&self) -> Option<&(dyn Fail + 'static)>
fn cause(&self) -> Option<&(dyn Fail + 'static)>
Returns a reference to the underlying cause of this failure, if it
is an error that wraps other errors. Read more
source§fn backtrace(&self) -> Option<&Backtrace>
fn backtrace(&self) -> Option<&Backtrace>
Returns a reference to the
Backtrace
carried by this failure, if it
carries one. Read more