Struct wasmer_types::lib::std::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 RecvTimeoutError
.
This conversion always returns RecvTimeoutError::Disconnected
.
No data is allocated on the heap.
Converts a RecvError
into a TryRecvError
.
This conversion always returns TryRecvError::Disconnected
.
No data is allocated on the heap.
Auto Trait Implementations
impl RefUnwindSafe for RecvError
impl UnwindSafe for RecvError
Blanket Implementations
type ArchivedMetadata = ()
type ArchivedMetadata = ()
The archived version of the pointer metadata for this type.
Converts some archived metadata to the pointer metadata for itself.
Mutably borrows from an owned value. Read more
Compare self to key
and return true
if they are equal.