pub enum AppendError<M, D> {
Mailbox(M),
Data(D),
}
Variants§
Trait Implementations§
Source§impl<M: Clone, D: Clone> Clone for AppendError<M, D>
impl<M: Clone, D: Clone> Clone for AppendError<M, D>
Source§fn clone(&self) -> AppendError<M, D>
fn clone(&self) -> AppendError<M, D>
Returns a copy 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<M, D> Display for AppendError<M, D>
impl<M, D> Display for AppendError<M, D>
Source§impl<M, D> Error for AppendError<M, D>
impl<M, D> Error for AppendError<M, D>
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<M: Ord, D: Ord> Ord for AppendError<M, D>
impl<M: Ord, D: Ord> Ord for AppendError<M, D>
Source§fn cmp(&self, other: &AppendError<M, D>) -> Ordering
fn cmp(&self, other: &AppendError<M, D>) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl<M: PartialOrd, D: PartialOrd> PartialOrd for AppendError<M, D>
impl<M: PartialOrd, D: PartialOrd> PartialOrd for AppendError<M, D>
impl<M: Eq, D: Eq> Eq for AppendError<M, D>
impl<M, D> StructuralPartialEq for AppendError<M, D>
Auto Trait Implementations§
impl<M, D> Freeze for AppendError<M, D>
impl<M, D> RefUnwindSafe for AppendError<M, D>where
M: RefUnwindSafe,
D: RefUnwindSafe,
impl<M, D> Send for AppendError<M, D>
impl<M, D> Sync for AppendError<M, D>
impl<M, D> Unpin for AppendError<M, D>
impl<M, D> UnwindSafe for AppendError<M, D>where
M: UnwindSafe,
D: 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