pub struct NoReceiverError<T>(pub T);Expand description
An error returned from the Updater::update function.
Indicates that the paired Receiver has been dropped.
Contains the value that had been passed into
Updater::update
Tuple Fields§
§0: TTrait Implementations§
Source§impl<T: Clone> Clone for NoReceiverError<T>
impl<T: Clone> Clone for NoReceiverError<T>
Source§fn clone(&self) -> NoReceiverError<T>
fn clone(&self) -> NoReceiverError<T>
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl<T> Debug for NoReceiverError<T>
impl<T> Debug for NoReceiverError<T>
Source§impl<T> Display for NoReceiverError<T>
impl<T> Display for NoReceiverError<T>
Source§impl<T> Error for NoReceiverError<T>
impl<T> Error for NoReceiverError<T>
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()
Source§impl<T: PartialEq> PartialEq for NoReceiverError<T>
impl<T: PartialEq> PartialEq for NoReceiverError<T>
impl<T: Copy> Copy for NoReceiverError<T>
impl<T: Eq> Eq for NoReceiverError<T>
impl<T> StructuralPartialEq for NoReceiverError<T>
Auto Trait Implementations§
impl<T> Freeze for NoReceiverError<T>where
T: Freeze,
impl<T> RefUnwindSafe for NoReceiverError<T>where
T: RefUnwindSafe,
impl<T> Send for NoReceiverError<T>where
T: Send,
impl<T> Sync for NoReceiverError<T>where
T: Sync,
impl<T> Unpin for NoReceiverError<T>where
T: Unpin,
impl<T> UnwindSafe for NoReceiverError<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