pub enum ImapMessageAppendStreamError {
No(String),
Bad(String),
Bye(String),
MissingTagged,
ShortMessage,
Send(ImapSendError),
}Expand description
Failure causes during the IMAP APPEND streaming flow.
Variants§
No(String)
The server rejected the command with a NO response.
Bad(String)
The server rejected the command with a BAD response.
Bye(String)
The server closed the session with an untagged BYE.
MissingTagged
The exchange ended without a tagged response from the server.
ShortMessage
The message source delivered fewer octets than the declared literal length.
Send(ImapSendError)
The underlying send/receive exchange failed (EOF, decode, framing).
Trait Implementations§
Source§impl Clone for ImapMessageAppendStreamError
impl Clone for ImapMessageAppendStreamError
Source§fn clone(&self) -> ImapMessageAppendStreamError
fn clone(&self) -> ImapMessageAppendStreamError
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 ImapMessageAppendStreamError
impl Debug for ImapMessageAppendStreamError
Source§impl Error for ImapMessageAppendStreamError
impl Error for ImapMessageAppendStreamError
Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns 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<ImapMessageAppendStreamError> for ImapClientStdError
Available on crate feature client only.
impl From<ImapMessageAppendStreamError> for ImapClientStdError
Available on crate feature
client only.Source§fn from(source: ImapMessageAppendStreamError) -> Self
fn from(source: ImapMessageAppendStreamError) -> Self
Converts to this type from the input type.
Source§impl From<ImapSendError> for ImapMessageAppendStreamError
impl From<ImapSendError> for ImapMessageAppendStreamError
Source§fn from(source: ImapSendError) -> Self
fn from(source: ImapSendError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for ImapMessageAppendStreamError
impl RefUnwindSafe for ImapMessageAppendStreamError
impl Send for ImapMessageAppendStreamError
impl Sync for ImapMessageAppendStreamError
impl Unpin for ImapMessageAppendStreamError
impl UnsafeUnpin for ImapMessageAppendStreamError
impl UnwindSafe for ImapMessageAppendStreamError
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