Enum async_broadcast::TrySendError [−][src]
pub enum TrySendError<T> { Full(T), Closed(T), Inactive(T), }
Expand description
An error returned from Sender::try_broadcast()
.
Variants
The channel is full but not closed.
The channel is closed.
There are currently no active receivers, only inactive ones.
Implementations
Unwraps the message that couldn’t be sent.
Returns true
if the channel is closed.
Trait Implementations
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl<T> RefUnwindSafe for TrySendError<T> where
T: RefUnwindSafe,
impl<T> Send for TrySendError<T> where
T: Send,
impl<T> Sync for TrySendError<T> where
T: Sync,
impl<T> Unpin for TrySendError<T> where
T: Unpin,
impl<T> UnwindSafe for TrySendError<T> where
T: UnwindSafe,
Blanket Implementations
Mutably borrows from an owned value. Read more