Enum imap_types::message::FlagError
source · pub enum FlagError<'a, A> {
Atom(A),
IsASystemFlag {
candidate: Atom<'a>,
},
IsAnExtensionFlag {
candidate: Atom<'a>,
},
}Variants§
Trait Implementations§
source§impl<'a, A> Error for FlagError<'a, A>where
A: Error,
Self: Debug + Display,
impl<'a, A> Error for FlagError<'a, A>where A: Error, Self: Debug + Display,
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<'a, A: Ord> Ord for FlagError<'a, A>
impl<'a, A: Ord> Ord for FlagError<'a, A>
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<'a, A: PartialEq> PartialEq<FlagError<'a, A>> for FlagError<'a, A>
impl<'a, A: PartialEq> PartialEq<FlagError<'a, A>> for FlagError<'a, A>
source§impl<'a, A: PartialOrd> PartialOrd<FlagError<'a, A>> for FlagError<'a, A>
impl<'a, A: PartialOrd> PartialOrd<FlagError<'a, A>> for FlagError<'a, A>
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