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