Struct grafix_toolbox::uses::Sync::sync::mpsc::RecvError 1.0.0[−][src]
pub struct RecvError;
Expand description
An error returned from the recv function on a Receiver.
The recv operation can only fail if the sending half of a
channel (or sync_channel) is disconnected, implying that no further
messages will ever be received.
Trait Implementations
Converts a RecvError into a TryRecvError.
This conversion always returns TryRecvError::Disconnected.
No data is allocated on the heap.
Converts a RecvError into a RecvTimeoutError.
This conversion always returns RecvTimeoutError::Disconnected.
No data is allocated on the heap.
Auto Trait Implementations
impl RefUnwindSafe for RecvErrorimpl UnwindSafe for RecvErrorBlanket Implementations
Mutably borrows from an owned value. Read more
type Output = T
type Output = TShould always be Self
The inverse inclusion map: attempts to construct self from the equivalent element of its
superset. Read more
pub fn is_in_subset(&self) -> bool
pub fn is_in_subset(&self) -> boolChecks if self is actually part of its subset T (and can be converted to it).
pub fn to_subset_unchecked(&self) -> SS
pub fn to_subset_unchecked(&self) -> SSUse with care! Same as self.to_subset but without any property checks. Always succeeds.
pub fn from_subset(element: &SS) -> SP
pub fn from_subset(element: &SS) -> SPThe inclusion map: converts self to the equivalent element of its superset.
pub fn vzip(self) -> V