Enum imap_codec::core::AtomExtError
source · pub enum AtomExtError {
Empty,
ByteNotAllowed {
found: u8,
position: usize,
},
}
Expand description
Error during creation of an extended atom.
Variants§
Trait Implementations§
source§impl Clone for AtomExtError
impl Clone for AtomExtError
source§fn clone(&self) -> AtomExtError
fn clone(&self) -> AtomExtError
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 Debug for AtomExtError
impl Debug for AtomExtError
source§impl Display for AtomExtError
impl Display for AtomExtError
source§impl Error for AtomExtError
impl Error for AtomExtError
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 Hash for AtomExtError
impl Hash for AtomExtError
source§impl Ord for AtomExtError
impl Ord for AtomExtError
source§fn cmp(&self, other: &AtomExtError) -> Ordering
fn cmp(&self, other: &AtomExtError) -> 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 PartialEq<AtomExtError> for AtomExtError
impl PartialEq<AtomExtError> for AtomExtError
source§fn eq(&self, other: &AtomExtError) -> bool
fn eq(&self, other: &AtomExtError) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd<AtomExtError> for AtomExtError
impl PartialOrd<AtomExtError> for AtomExtError
source§fn partial_cmp(&self, other: &AtomExtError) -> Option<Ordering>
fn partial_cmp(&self, other: &AtomExtError) -> 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 moreimpl Eq for AtomExtError
impl StructuralEq for AtomExtError
impl StructuralPartialEq for AtomExtError
Auto Trait Implementations§
impl RefUnwindSafe for AtomExtError
impl Send for AtomExtError
impl Sync for AtomExtError
impl Unpin for AtomExtError
impl UnwindSafe for AtomExtError
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