pub struct ChannelClosed;Expand description
Error returned when sending to a channel whose receiver has been dropped.
Trait Implementations§
Source§impl Debug for ChannelClosed
impl Debug for ChannelClosed
Source§impl Display for ChannelClosed
impl Display for ChannelClosed
Source§impl Error for ChannelClosed
impl Error for ChannelClosed
1.30.0§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
1.0.0§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
Auto Trait Implementations§
impl Freeze for ChannelClosed
impl RefUnwindSafe for ChannelClosed
impl Send for ChannelClosed
impl Sync for ChannelClosed
impl Unpin for ChannelClosed
impl UnwindSafe for ChannelClosed
Blanket Implementations§
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more