Enum imap_types::flag::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 moreimpl<'a, A: Eq> Eq for FlagError<'a, A>
impl<'a, A> StructuralEq for FlagError<'a, A>
impl<'a, A> StructuralPartialEq for FlagError<'a, A>
Auto Trait Implementations§
impl<'a, A> RefUnwindSafe for FlagError<'a, A>where A: RefUnwindSafe,
impl<'a, A> Send for FlagError<'a, A>where A: Send,
impl<'a, A> Sync for FlagError<'a, A>where A: Sync,
impl<'a, A> Unpin for FlagError<'a, A>where A: Unpin,
impl<'a, A> UnwindSafe for FlagError<'a, A>where A: 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