Enum imap_codec::tokio::FramingError
source · pub enum FramingError {
NotCrLf,
LineTooLarge {
max_line_length: u32,
},
MessageTooLarge {
max_message_length: u32,
},
LiteralTooLarge {
max_literal_length: u32,
length: u32,
},
}
Available on crate feature
tokio
only.Variants§
Trait Implementations§
source§impl Debug for FramingError
impl Debug for FramingError
source§impl Display for FramingError
impl Display for FramingError
source§impl Error for FramingError
impl Error for FramingError
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<FramingError> for ImapClientCodecError
impl From<FramingError> for ImapClientCodecError
source§fn from(source: FramingError) -> Self
fn from(source: FramingError) -> Self
Converts to this type from the input type.
source§impl From<FramingError> for ImapServerCodecError
impl From<FramingError> for ImapServerCodecError
source§fn from(source: FramingError) -> Self
fn from(source: FramingError) -> Self
Converts to this type from the input type.
source§impl PartialEq<FramingError> for FramingError
impl PartialEq<FramingError> for FramingError
source§fn eq(&self, other: &FramingError) -> bool
fn eq(&self, other: &FramingError) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for FramingError
impl StructuralEq for FramingError
impl StructuralPartialEq for FramingError
Auto Trait Implementations§
impl RefUnwindSafe for FramingError
impl Send for FramingError
impl Sync for FramingError
impl Unpin for FramingError
impl UnwindSafe for FramingError
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