W3cubDocs

/Rust

Struct std::sync::mpsc::RecvError

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 Copy for RecvError[src]

impl Debug for RecvError[src]

impl Display for RecvError[src]

impl Eq for RecvError[src]

impl Error for RecvError[src]

impl From<RecvError> for TryRecvError[src]1.24.0

impl From<RecvError> for RecvTimeoutError[src]1.24.0

impl PartialEq<RecvError> 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, 
[src]

impl<T> Borrow<T> for T where
    T: ?Sized, 
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized, 
[src]

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

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone, 
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T> ToString for T where
    T: Display + ?Sized, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

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

The type returned in the event of a conversion error.

© 2010 The Rust Project Developers
Licensed under the Apache License, Version 2.0 or the MIT license, at your option.
https://doc.rust-lang.org/std/sync/mpsc/struct.RecvError.html