Struct futures_intrusive::channel::ChannelSendError
source · pub struct ChannelSendError<T>(pub T);
Expand description
The error which is returned when sending a value into a channel fails.
The send
operation can only fail if the channel has been closed, which
would prevent the other actors to ever retrieve the value.
The error recovers the value that has been sent.
Tuple Fields
0: T
Trait Implementations
sourceimpl<T: Debug> Debug for ChannelSendError<T>
impl<T: Debug> Debug for ChannelSendError<T>
sourceimpl<T: PartialEq> PartialEq<ChannelSendError<T>> for ChannelSendError<T>
impl<T: PartialEq> PartialEq<ChannelSendError<T>> for ChannelSendError<T>
sourcefn eq(&self, other: &ChannelSendError<T>) -> bool
fn eq(&self, other: &ChannelSendError<T>) -> bool
impl<T> StructuralPartialEq for ChannelSendError<T>
Auto Trait Implementations
impl<T> RefUnwindSafe for ChannelSendError<T>where
T: RefUnwindSafe,
impl<T> Send for ChannelSendError<T>where
T: Send,
impl<T> Sync for ChannelSendError<T>where
T: Sync,
impl<T> Unpin for ChannelSendError<T>where
T: Unpin,
impl<T> UnwindSafe for ChannelSendError<T>where
T: UnwindSafe,
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more