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