pub struct SendError<T, E>(/* private fields */);
👎Deprecated since 0.1.4: use sync::mpsc::channel instead
Expand description
Error type for sending, used when the receiving end of the channel is dropped
Trait Implementations§
Source§impl<T, E> Error for SendError<T, E>
impl<T, E> Error for SendError<T, E>
Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
1.30.0 · Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
Auto Trait Implementations§
impl<T, E> Freeze for SendError<T, E>
impl<T, E> RefUnwindSafe for SendError<T, E>where
T: RefUnwindSafe,
E: RefUnwindSafe,
impl<T, E> Send for SendError<T, E>
impl<T, E> Sync for SendError<T, E>
impl<T, E> Unpin for SendError<T, E>
impl<T, E> UnwindSafe for SendError<T, E>where
T: UnwindSafe,
E: UnwindSafe,
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more