pub struct SendError<T, E>(_);
👎 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
sourceimpl<T, E> Error for SendError<T, E> where
T: Any,
E: Any,
impl<T, E> Error for SendError<T, E> where
T: Any,
E: Any,
sourcepub fn description(&self) -> &str
pub fn description(&self) -> &str
👎 Deprecated since 1.42.0:
use the Display impl or to_string()
1.30.0 · sourcefn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more
Auto Trait Implementations
impl<T, E> RefUnwindSafe for SendError<T, E> where
E: RefUnwindSafe,
T: RefUnwindSafe,
impl<T, E> Send for SendError<T, E> where
E: Send,
T: Send,
impl<T, E> Sync for SendError<T, E> where
E: Sync,
T: Sync,
impl<T, E> Unpin for SendError<T, E> where
E: Unpin,
T: Unpin,
impl<T, E> UnwindSafe for SendError<T, E> where
E: UnwindSafe,
T: UnwindSafe,
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more