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