pub enum Error<M, R> {
OneshotRecvError(RecvError),
MpscSendError(SendError<(M, Option<Sender<R>>)>),
Timeout,
}
Expand description
Error wrapper type.
Variants
OneshotRecvError(RecvError)
MpscSendError(SendError<(M, Option<Sender<R>>)>)
Timeout
Trait Implementations
Auto Trait Implementations
impl<M, R> !RefUnwindSafe for Error<M, R>
impl<M, R> Send for Error<M, R> where
M: Send,
R: Send,
impl<M, R> Sync for Error<M, R> where
M: Sync,
R: Send,
impl<M, R> Unpin for Error<M, R> where
M: Unpin,
impl<M, R> !UnwindSafe for Error<M, R>
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more