Struct async_broadcast::SendError
source · pub struct SendError<T>(pub T);
Expand description
An error returned from Sender::broadcast()
.
Received because the channel is closed or no active receivers were present while await-active
was set to false
(See Sender::set_await_active
for details).
Tuple Fields§
§0: T
Implementations§
source§impl<T> SendError<T>
impl<T> SendError<T>
sourcepub fn into_inner(self) -> T
pub fn into_inner(self) -> T
Unwraps the message that couldn’t be sent.
Trait Implementations§
source§impl<T> Error for SendError<T>
impl<T> Error for SendError<T>
1.30.0 · source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more
1.0.0 · source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()