Struct PollSendError

struct PollSendError<T>(_)

Error returned by the PollSender when the channel is closed.

Implementations

impl<T> PollSendError<T>

fn into_inner(self: Self) -> Option<T>

Consumes the stored value, if any.

If this error was encountered when calling start_send/send_item, this will be the item that the caller attempted to send. Otherwise, it will be None.

impl<T> Any for PollSendError<T>

fn type_id(self: &Self) -> TypeId

impl<T> Borrow for PollSendError<T>

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

impl<T> BorrowMut for PollSendError<T>

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

impl<T> Display for PollSendError<T>

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

impl<T> Freeze for PollSendError<T>

impl<T> From for PollSendError<T>

fn from(t: T) -> T

Returns the argument unchanged.

impl<T> RefUnwindSafe for PollSendError<T>

impl<T> Send for PollSendError<T>

impl<T> Sync for PollSendError<T>

impl<T> ToString for PollSendError<T>

fn to_string(self: &Self) -> String

impl<T> Unpin for PollSendError<T>

impl<T> UnsafeUnpin for PollSendError<T>

impl<T> UnwindSafe for PollSendError<T>

impl<T, U> Into for PollSendError<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 PollSendError<T>

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

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

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

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

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

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