Struct std::sync::mpsc::RecvError1.0.0[][src]

pub struct RecvError;

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

impl Clone for RecvError[src]

impl Debug for RecvError[src]

impl Display for RecvError[src]

impl Error for RecvError[src]

impl From<RecvError> for TryRecvError1.24.0[src]

fn from(err: RecvError) -> TryRecvError[src]

Converts a RecvError into a TryRecvError.

This conversion always returns TryRecvError::Disconnected.

No data is allocated on the heap.

impl From<RecvError> for RecvTimeoutError1.24.0[src]

fn from(err: RecvError) -> RecvTimeoutError[src]

Converts a RecvError into a RecvTimeoutError.

This conversion always returns RecvTimeoutError::Disconnected.

No data is allocated on the heap.

impl PartialEq<RecvError> for RecvError[src]

impl Copy for RecvError[src]

impl Eq for RecvError[src]

impl StructuralEq for RecvError[src]

impl StructuralPartialEq for RecvError[src]

Auto Trait Implementations

impl RefUnwindSafe for RecvError

impl Send for RecvError

impl Sync for RecvError

impl Unpin for RecvError

impl UnwindSafe for RecvError

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized

impl<T> Borrow<T> for T where
    T: ?Sized

impl<T> BorrowMut<T> for T where
    T: ?Sized

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 

impl<T> ToOwned for T where
    T: Clone

type Owned = T

The resulting type after obtaining ownership.

impl<T> ToString for T where
    T: Display + ?Sized

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.