Struct tokio_util::sync::PollSendError [−][src]
pub struct PollSendError<T>(_);
Expand description
Error returned by the PollSender
when the channel is closed.
Implementations
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
.
Trait Implementations
Auto Trait Implementations
impl<T> RefUnwindSafe for PollSendError<T> where
T: RefUnwindSafe,
impl<T> Send for PollSendError<T> where
T: Send,
impl<T> Sync for PollSendError<T> where
T: Sync,
impl<T> Unpin for PollSendError<T> where
T: Unpin,
impl<T> UnwindSafe for PollSendError<T> where
T: UnwindSafe,
Blanket Implementations
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more