Struct SendError

struct SendError<T>(3476)

Error returned by the send function on a Sender.

A send operation can only fail if there are no active receivers, implying that the message could never be received. The error contains the message being sent as a payload so it can be recovered.

Implementations

impl<T> Any for SendError<T>

fn type_id(self: &Self) -> TypeId

impl<T> Borrow for SendError<T>

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

impl<T> BorrowMut for SendError<T>

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

impl<T> Display for SendError<T>

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

impl<T> Freeze for SendError<T>

impl<T> From for SendError<T>

fn from(t: T) -> T

Returns the argument unchanged.

impl<T> RefUnwindSafe for SendError<T>

impl<T> Send for SendError<T>

impl<T> Sync for SendError<T>

impl<T> ToString for SendError<T>

fn to_string(self: &Self) -> String

impl<T> Unpin for SendError<T>

impl<T> UnwindSafe for SendError<T>

impl<T, U> Into for SendError<T>

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 SendError<T>

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

impl<T, U> TryInto for SendError<T>

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

impl<T: $crate::fmt::Debug> Debug for SendError<T>

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

impl<T: fmt::Debug> Error for SendError<T>