pub struct UnboundedTrySendError<T>(_);
Expand description
Returned by UnboundedSender::try_send
when the channel has been closed.
Implementations
sourceimpl<T> UnboundedTrySendError<T>
impl<T> UnboundedTrySendError<T>
sourcepub fn into_inner(self) -> T
pub fn into_inner(self) -> T
Get the inner value.
Trait Implementations
sourceimpl<T> Debug for UnboundedTrySendError<T> where
T: Debug,
impl<T> Debug for UnboundedTrySendError<T> where
T: Debug,
sourceimpl<T> Display for UnboundedTrySendError<T> where
T: Debug,
impl<T> Display for UnboundedTrySendError<T> where
T: Debug,
sourceimpl<T> Error for UnboundedTrySendError<T> where
T: Debug,
impl<T> Error for UnboundedTrySendError<T> where
T: Debug,
sourcepub fn description(&self) -> &str
pub fn description(&self) -> &str
👎 Deprecated since 1.42.0:
use the Display impl or to_string()
1.30.0 · sourcefn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more
sourceimpl<T> From<(T, TrySendError)> for UnboundedTrySendError<T>
impl<T> From<(T, TrySendError)> for UnboundedTrySendError<T>
sourcepub fn from((T, TrySendError)) -> UnboundedTrySendError<T>
pub fn from((T, TrySendError)) -> UnboundedTrySendError<T>
Performs the conversion.
Auto Trait Implementations
impl<T> RefUnwindSafe for UnboundedTrySendError<T> where
T: RefUnwindSafe,
impl<T> Send for UnboundedTrySendError<T> where
T: Send,
impl<T> Sync for UnboundedTrySendError<T> where
T: Sync,
impl<T> Unpin for UnboundedTrySendError<T> where
T: Unpin,
impl<T> UnwindSafe for UnboundedTrySendError<T> where
T: UnwindSafe,
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more