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