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§
source§impl<T: Debug> Debug for ChannelSendError<T>
impl<T: Debug> Debug for ChannelSendError<T>
source§impl<T: PartialEq> PartialEq for ChannelSendError<T>
impl<T: PartialEq> PartialEq for ChannelSendError<T>
source§fn eq(&self, other: &ChannelSendError<T>) -> bool
fn eq(&self, other: &ChannelSendError<T>) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.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§
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