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