#[non_exhaustive]pub struct MpscOtherSinkTrySendError {}
Expand description
[mpsc::Sender::try_send
] returned an uncategorisable error
Both .full()
and .disconnected()
returned false
.
We could call [mpsc::TrySendError::into_send_error
] but then we don’t get the payload.
In the future, we might replace this type with a type alias for [mpsc::SendError
].
When returned from <mpsc::Sender::SinkTrySend::try_send
,
this is wrapped in ErasedSinkTrySendError::Other
.
Trait Implementations§
Source§impl Debug for MpscOtherSinkTrySendError
impl Debug for MpscOtherSinkTrySendError
Source§impl Display for MpscOtherSinkTrySendError
impl Display for MpscOtherSinkTrySendError
Source§impl Error for MpscOtherSinkTrySendError
impl Error for MpscOtherSinkTrySendError
1.30.0 · Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns 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()
Auto Trait Implementations§
impl Freeze for MpscOtherSinkTrySendError
impl RefUnwindSafe for MpscOtherSinkTrySendError
impl Send for MpscOtherSinkTrySendError
impl Sync for MpscOtherSinkTrySendError
impl Unpin for MpscOtherSinkTrySendError
impl UnwindSafe for MpscOtherSinkTrySendError
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more