pub struct ClosedError;
Expand description
An error indicating that the channel is closed.
Trait Implementations§
Source§impl Clone for ClosedError
impl Clone for ClosedError
Source§fn clone(&self) -> ClosedError
fn clone(&self) -> ClosedError
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for ClosedError
impl Debug for ClosedError
Source§impl Default for ClosedError
impl Default for ClosedError
Source§fn default() -> ClosedError
fn default() -> ClosedError
Returns the “default value” for a type. Read more
Source§impl Display for ClosedError
impl Display for ClosedError
Source§impl Error for ClosedError
impl Error for ClosedError
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
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
impl Copy for ClosedError
Auto Trait Implementations§
impl Freeze for ClosedError
impl RefUnwindSafe for ClosedError
impl Send for ClosedError
impl Sync for ClosedError
impl Unpin for ClosedError
impl UnwindSafe for ClosedError
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