Enum imap_types::command::AppendError
source · 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> Error for AppendError<M, D>where
Self: Debug + Display,
impl<M, D> Error for AppendError<M, D>where Self: 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<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: PartialEq, D: PartialEq> PartialEq<AppendError<M, D>> for AppendError<M, D>
impl<M: PartialEq, D: PartialEq> PartialEq<AppendError<M, D>> for AppendError<M, D>
source§fn eq(&self, other: &AppendError<M, D>) -> bool
fn eq(&self, other: &AppendError<M, D>) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl<M: PartialOrd, D: PartialOrd> PartialOrd<AppendError<M, D>> for AppendError<M, D>
impl<M: PartialOrd, D: PartialOrd> PartialOrd<AppendError<M, D>> for AppendError<M, D>
source§fn partial_cmp(&self, other: &AppendError<M, D>) -> Option<Ordering>
fn partial_cmp(&self, other: &AppendError<M, D>) -> Option<Ordering>
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 more