pub enum ChannelSinkError {
Disconnected,
}Available on crate feature
std only.Expand description
Error returned by ChannelSink when the receiver has been dropped.
Variants§
Disconnected
The receiving end of the channel has been dropped.
Trait Implementations§
Source§impl Clone for ChannelSinkError
impl Clone for ChannelSinkError
Source§fn clone(&self) -> ChannelSinkError
fn clone(&self) -> ChannelSinkError
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 ChannelSinkError
impl Debug for ChannelSinkError
Source§impl Display for ChannelSinkError
impl Display for ChannelSinkError
Source§impl Error for ChannelSinkError
impl Error for ChannelSinkError
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()
Source§impl Hash for ChannelSinkError
impl Hash for ChannelSinkError
Source§impl PartialEq for ChannelSinkError
impl PartialEq for ChannelSinkError
Source§fn eq(&self, other: &ChannelSinkError) -> bool
fn eq(&self, other: &ChannelSinkError) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for ChannelSinkError
impl Eq for ChannelSinkError
impl StructuralPartialEq for ChannelSinkError
Auto Trait Implementations§
impl Freeze for ChannelSinkError
impl RefUnwindSafe for ChannelSinkError
impl Send for ChannelSinkError
impl Sync for ChannelSinkError
impl Unpin for ChannelSinkError
impl UnsafeUnpin for ChannelSinkError
impl UnwindSafe for ChannelSinkError
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