Enum imap_codec::codec::DecodeError
source · pub enum DecodeError {
Incomplete,
LiteralAckRequired,
Failed,
}Variants§
Incomplete
Parser needs more data.
LiteralAckRequired
Parser needs more data, and (likely) an action is required, e.g., a literal acknowledgement must be send from the server.
Failed
Trait Implementations§
source§impl Clone for DecodeError
impl Clone for DecodeError
source§fn clone(&self) -> DecodeError
fn clone(&self) -> DecodeError
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 DecodeError
impl Debug for DecodeError
source§impl PartialEq<DecodeError> for DecodeError
impl PartialEq<DecodeError> for DecodeError
source§fn eq(&self, other: &DecodeError) -> bool
fn eq(&self, other: &DecodeError) -> bool
This method tests for
self and other values to be equal, and is used
by ==.