Enum imap_codec::core::AtomError
source · pub enum AtomError {
Empty,
ByteNotAllowed {
found: u8,
position: usize,
},
}
Expand description
Error during creation of an atom.
Variants§
Trait Implementations§
source§impl Error for AtomError
impl Error for AtomError
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 Ord for AtomError
impl Ord for AtomError
source§impl PartialEq<AtomError> for AtomError
impl PartialEq<AtomError> for AtomError
source§impl PartialOrd<AtomError> for AtomError
impl PartialOrd<AtomError> for AtomError
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 AtomError
impl StructuralEq for AtomError
impl StructuralPartialEq for AtomError
Auto Trait Implementations§
impl RefUnwindSafe for AtomError
impl Send for AtomError
impl Sync for AtomError
impl Unpin for AtomError
impl UnwindSafe for AtomError
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