Enum imap_codec::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,
    FlagError<'a, A>: Debug + Display,
 
impl<'a, A> Error for FlagError<'a, A>where A: Error, FlagError<'a, A>: 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 for FlagError<'a, A>where
    A: Ord,
 
impl<'a, A> Ord for FlagError<'a, A>where A: 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<'a, A> PartialEq<FlagError<'a, A>> for FlagError<'a, A>where
    A: PartialEq<A>,
 
impl<'a, A> PartialEq<FlagError<'a, A>> for FlagError<'a, A>where A: PartialEq<A>,
source§impl<'a, A> PartialOrd<FlagError<'a, A>> for FlagError<'a, A>where
    A: PartialOrd<A>,
 
impl<'a, A> PartialOrd<FlagError<'a, A>> for FlagError<'a, A>where A: PartialOrd<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