Enum imap_codec::command::ListError
source · pub enum ListError<R, M> {
Reference(R),
Mailbox(M),
}
Variants§
Trait Implementations§
source§impl<R, M> Error for ListError<R, M>where
ListError<R, M>: Debug + Display,
impl<R, M> Error for ListError<R, M>where ListError<R, M>: Debug + Display,
1.30.0 · source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
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<R, M> Ord for ListError<R, M>where
R: Ord,
M: Ord,
impl<R, M> Ord for ListError<R, M>where R: Ord, M: Ord,
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<R, M> PartialEq<ListError<R, M>> for ListError<R, M>where
R: PartialEq<R>,
M: PartialEq<M>,
impl<R, M> PartialEq<ListError<R, M>> for ListError<R, M>where R: PartialEq<R>, M: PartialEq<M>,
source§impl<R, M> PartialOrd<ListError<R, M>> for ListError<R, M>where
R: PartialOrd<R>,
M: PartialOrd<M>,
impl<R, M> PartialOrd<ListError<R, M>> for ListError<R, M>where R: PartialOrd<R>, M: PartialOrd<M>,
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moreimpl<R, M> Eq for ListError<R, M>where R: Eq, M: Eq,
impl<R, M> StructuralEq for ListError<R, M>
impl<R, M> StructuralPartialEq for ListError<R, M>
Auto Trait Implementations§
impl<R, M> RefUnwindSafe for ListError<R, M>where M: RefUnwindSafe, R: RefUnwindSafe,
impl<R, M> Send for ListError<R, M>where M: Send, R: Send,
impl<R, M> Sync for ListError<R, M>where M: Sync, R: Sync,
impl<R, M> Unpin for ListError<R, M>where M: Unpin, R: Unpin,
impl<R, M> UnwindSafe for ListError<R, M>where M: UnwindSafe, R: 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