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