Struct SendError

struct SendError { ... }

The error type for Senders used as Sinks.

Implementations

impl SendError

fn is_full(self: &Self) -> bool

Returns true if this error is a result of the channel being full.

fn is_disconnected(self: &Self) -> bool

Returns true if this error is a result of the receiver being dropped.

impl Clone for SendError

fn clone(self: &Self) -> SendError

impl Debug for SendError

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

impl Display for SendError

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

impl Eq for SendError

impl Error for SendError

impl Freeze for SendError

impl PartialEq for SendError

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

impl RefUnwindSafe for SendError

impl Send for SendError

impl StructuralPartialEq for SendError

impl Sync for SendError

impl Unpin for SendError

impl UnsafeUnpin for SendError

impl UnwindSafe for SendError

impl<T> Any for SendError

fn type_id(self: &Self) -> TypeId

impl<T> Borrow for SendError

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

impl<T> BorrowMut for SendError

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

impl<T> CloneToUninit for SendError

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

impl<T> From for SendError

fn from(t: T) -> T

Returns the argument unchanged.

impl<T> ToOwned for SendError

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

impl<T> ToString for SendError

fn to_string(self: &Self) -> String

impl<T, U> Into for SendError

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

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

impl<T, U> TryInto for SendError

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