Struct tokio::sync::broadcast::error::SendError [−][src]
pub struct SendError<T>(pub T);
Error returned by from 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.
Trait Implementations
Auto Trait Implementations
impl<T> RefUnwindSafe for SendError<T> where
T: RefUnwindSafe,
T: RefUnwindSafe,
impl<T> Send for SendError<T> where
T: Send,
T: Send,
impl<T> Sync for SendError<T> where
T: Sync,
T: Sync,
impl<T> Unpin for SendError<T> where
T: Unpin,
T: Unpin,
impl<T> UnwindSafe for SendError<T> where
T: UnwindSafe,
T: UnwindSafe,