Struct RecvError

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.

Implementations

impl Clone for RecvError

fn clone(self: &Self) -> RecvError

impl Copy for RecvError

impl Debug for RecvError

fn fmt(self: &Self, f: &mut $crate::fmt::Formatter<'_>) -> $crate::fmt::Result

impl Display for RecvError

fn fmt(self: &Self, f: &mut fmt::Formatter<'_>) -> fmt::Result

impl Eq for RecvError

impl Error for RecvError

impl Freeze for RecvError

impl PartialEq for RecvError

fn eq(self: &Self, other: &RecvError) -> bool

impl RefUnwindSafe for RecvError

impl Send for RecvError

impl StructuralPartialEq for RecvError

impl Sync for RecvError

impl Unpin for RecvError

impl UnwindSafe for RecvError

impl<T> Any for RecvError

fn type_id(self: &Self) -> TypeId

impl<T> Borrow for RecvError

fn borrow(self: &Self) -> &T

impl<T> BorrowMut for RecvError

fn borrow_mut(self: &mut Self) -> &mut T

impl<T> CloneToUninit for RecvError

unsafe fn clone_to_uninit(self: &Self, dest: *mut u8)

impl<T> From for RecvError

fn from(t: T) -> T

Returns the argument unchanged.

impl<T> ToOwned for RecvError

fn to_owned(self: &Self) -> T
fn clone_into(self: &Self, target: &mut T)

impl<T> ToString for RecvError

fn to_string(self: &Self) -> String

impl<T, U> Into for RecvError

fn into(self: Self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of [From]<T> for U chooses to do.

impl<T, U> TryFrom for RecvError

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

impl<T, U> TryInto for RecvError

fn try_into(self: Self) -> Result<U, <U as TryFrom<T>>::Error>