pub enum CopyError<S, M> {
Sequence(S),
Mailbox(M),
}
Variants§
Trait Implementations§
Source§impl<S, M> Error for CopyError<S, M>
impl<S, M> Error for CopyError<S, M>
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<S: Ord, M: Ord> Ord for CopyError<S, M>
impl<S: Ord, M: Ord> Ord for CopyError<S, M>
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<S: PartialOrd, M: PartialOrd> PartialOrd for CopyError<S, M>
impl<S: PartialOrd, M: PartialOrd> PartialOrd for CopyError<S, M>
impl<S: Eq, M: Eq> Eq for CopyError<S, M>
impl<S, M> StructuralPartialEq for CopyError<S, M>
Auto Trait Implementations§
impl<S, M> Freeze for CopyError<S, M>
impl<S, M> RefUnwindSafe for CopyError<S, M>where
S: RefUnwindSafe,
M: RefUnwindSafe,
impl<S, M> Send for CopyError<S, M>
impl<S, M> Sync for CopyError<S, M>
impl<S, M> Unpin for CopyError<S, M>
impl<S, M> UnwindSafe for CopyError<S, M>where
S: UnwindSafe,
M: 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