pub enum ImapMessageFetchError {
No(String),
Bad(String),
Bye(String),
MissingTagged,
MissingData,
Send(SendImapCommandError),
}Expand description
Failure causes during the IMAP FETCH flow.
Variants§
Trait Implementations§
Source§impl Clone for ImapMessageFetchError
impl Clone for ImapMessageFetchError
Source§fn clone(&self) -> ImapMessageFetchError
fn clone(&self) -> ImapMessageFetchError
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 ImapMessageFetchError
impl Debug for ImapMessageFetchError
Source§impl Display for ImapMessageFetchError
impl Display for ImapMessageFetchError
Source§impl Error for ImapMessageFetchError
impl Error for ImapMessageFetchError
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<ImapMessageFetchError> for ImapClientStdError
Available on crate feature client only.
impl From<ImapMessageFetchError> for ImapClientStdError
Available on crate feature
client only.Source§fn from(source: ImapMessageFetchError) -> Self
fn from(source: ImapMessageFetchError) -> Self
Converts to this type from the input type.
Source§impl From<ImapMessageFetchError> for ImapMailboxWatchError
impl From<ImapMessageFetchError> for ImapMailboxWatchError
Source§fn from(source: ImapMessageFetchError) -> Self
fn from(source: ImapMessageFetchError) -> Self
Converts to this type from the input type.
Source§impl From<SendImapCommandError> for ImapMessageFetchError
impl From<SendImapCommandError> for ImapMessageFetchError
Source§fn from(source: SendImapCommandError) -> Self
fn from(source: SendImapCommandError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for ImapMessageFetchError
impl RefUnwindSafe for ImapMessageFetchError
impl Send for ImapMessageFetchError
impl Sync for ImapMessageFetchError
impl Unpin for ImapMessageFetchError
impl UnsafeUnpin for ImapMessageFetchError
impl UnwindSafe for ImapMessageFetchError
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