pub enum ImapClientStdError {
Show 45 variants
Greeting(ImapGreetingGetError),
Login(ImapLoginError),
AuthLogin(ImapAuthLoginError),
AuthPlain(ImapAuthPlainError),
AuthAnonymous(ImapAuthAnonymousError),
AuthOAuthBearer(ImapAuthOauthbearerError),
AuthXOAuth2(ImapAuthXoauth2Error),
AuthScramSha256(ImapAuthScramSha256Error),
Logout(ImapLogoutError),
Capability(ImapCapabilityGetError),
Noop(ImapNoopError),
ServerId(ImapServerIdError),
ExtensionEnable(ImapExtensionEnableError),
MailboxList(ImapMailboxListError),
MailboxLsub(ImapMailboxLsubError),
MailboxStatus(ImapMailboxStatusError),
MailboxCreate(ImapMailboxCreateError),
MailboxDelete(ImapMailboxDeleteError),
MailboxRename(ImapMailboxRenameError),
MailboxSubscribe(ImapMailboxSubscribeError),
MailboxUnsubscribe(ImapMailboxUnsubscribeError),
MailboxSelect(ImapMailboxSelectError),
MailboxExamine(ImapMailboxExamineError),
MailboxWatch(ImapMailboxWatchError),
MailboxClose(ImapMailboxCloseError),
MailboxUnselect(ImapMailboxUnselectError),
MailboxCheck(ImapMailboxCheckError),
MailboxExpunge(ImapMailboxExpungeError),
MailboxSort(ImapMailboxSortError),
MessageFetch(ImapMessageFetchError),
MessageSearch(ImapMessageSearchError),
MessageStore(ImapMessageStoreError),
MessageCopy(ImapMessageCopyError),
MessageMove(ImapMessageMoveError),
MessageAppend(ImapMessageAppendError),
MessageThread(ImapMessageThreadError),
Io(Error),
StartTls(ImapStartTlsError),
Tls(Error),
UrlMissingHost(String),
UrlUnsupportedScheme(String, String),
StartTlsOverTls,
InvalidLoginCredentials(ValidationError),
QresyncNotSupported,
InvalidModSeq,
}Available on crate feature
client only.Expand description
Failure causes returned by ImapClientStd.
Variants§
Greeting(ImapGreetingGetError)
Login(ImapLoginError)
AuthLogin(ImapAuthLoginError)
AuthPlain(ImapAuthPlainError)
AuthAnonymous(ImapAuthAnonymousError)
AuthOAuthBearer(ImapAuthOauthbearerError)
AuthXOAuth2(ImapAuthXoauth2Error)
AuthScramSha256(ImapAuthScramSha256Error)
Available on crate feature
scram only.Logout(ImapLogoutError)
Capability(ImapCapabilityGetError)
Noop(ImapNoopError)
ServerId(ImapServerIdError)
ExtensionEnable(ImapExtensionEnableError)
MailboxList(ImapMailboxListError)
MailboxLsub(ImapMailboxLsubError)
MailboxStatus(ImapMailboxStatusError)
MailboxCreate(ImapMailboxCreateError)
MailboxDelete(ImapMailboxDeleteError)
MailboxRename(ImapMailboxRenameError)
MailboxSubscribe(ImapMailboxSubscribeError)
MailboxUnsubscribe(ImapMailboxUnsubscribeError)
MailboxSelect(ImapMailboxSelectError)
MailboxExamine(ImapMailboxExamineError)
MailboxWatch(ImapMailboxWatchError)
MailboxClose(ImapMailboxCloseError)
MailboxUnselect(ImapMailboxUnselectError)
MailboxCheck(ImapMailboxCheckError)
MailboxExpunge(ImapMailboxExpungeError)
MailboxSort(ImapMailboxSortError)
MessageFetch(ImapMessageFetchError)
MessageSearch(ImapMessageSearchError)
MessageStore(ImapMessageStoreError)
MessageCopy(ImapMessageCopyError)
MessageMove(ImapMessageMoveError)
MessageAppend(ImapMessageAppendError)
MessageThread(ImapMessageThreadError)
Io(Error)
StartTls(ImapStartTlsError)
Tls(Error)
Available on crate features
native-tls or rustls-aws or rustls-ring only.UrlMissingHost(String)
Available on crate features
native-tls or rustls-aws or rustls-ring only.UrlUnsupportedScheme(String, String)
Available on crate features
native-tls or rustls-aws or rustls-ring only.StartTlsOverTls
Available on crate features
native-tls or rustls-aws or rustls-ring only.InvalidLoginCredentials(ValidationError)
QresyncNotSupported
InvalidModSeq
Trait Implementations§
Source§impl Debug for ImapClientStdError
impl Debug for ImapClientStdError
Source§impl Display for ImapClientStdError
impl Display for ImapClientStdError
Source§impl Error for ImapClientStdError
impl Error for ImapClientStdError
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<Error> for ImapClientStdError
impl From<Error> for ImapClientStdError
Source§impl From<Error> for ImapClientStdError
impl From<Error> for ImapClientStdError
Source§impl From<ImapAuthAnonymousError> for ImapClientStdError
impl From<ImapAuthAnonymousError> for ImapClientStdError
Source§fn from(source: ImapAuthAnonymousError) -> Self
fn from(source: ImapAuthAnonymousError) -> Self
Converts to this type from the input type.
Source§impl From<ImapAuthLoginError> for ImapClientStdError
impl From<ImapAuthLoginError> for ImapClientStdError
Source§fn from(source: ImapAuthLoginError) -> Self
fn from(source: ImapAuthLoginError) -> Self
Converts to this type from the input type.
Source§impl From<ImapAuthOauthbearerError> for ImapClientStdError
impl From<ImapAuthOauthbearerError> for ImapClientStdError
Source§fn from(source: ImapAuthOauthbearerError) -> Self
fn from(source: ImapAuthOauthbearerError) -> Self
Converts to this type from the input type.
Source§impl From<ImapAuthPlainError> for ImapClientStdError
impl From<ImapAuthPlainError> for ImapClientStdError
Source§fn from(source: ImapAuthPlainError) -> Self
fn from(source: ImapAuthPlainError) -> Self
Converts to this type from the input type.
Source§impl From<ImapAuthScramSha256Error> for ImapClientStdError
impl From<ImapAuthScramSha256Error> for ImapClientStdError
Source§fn from(source: ImapAuthScramSha256Error) -> Self
fn from(source: ImapAuthScramSha256Error) -> Self
Converts to this type from the input type.
Source§impl From<ImapAuthXoauth2Error> for ImapClientStdError
impl From<ImapAuthXoauth2Error> for ImapClientStdError
Source§fn from(source: ImapAuthXoauth2Error) -> Self
fn from(source: ImapAuthXoauth2Error) -> Self
Converts to this type from the input type.
Source§impl From<ImapCapabilityGetError> for ImapClientStdError
impl From<ImapCapabilityGetError> for ImapClientStdError
Source§fn from(source: ImapCapabilityGetError) -> Self
fn from(source: ImapCapabilityGetError) -> Self
Converts to this type from the input type.
Source§impl From<ImapExtensionEnableError> for ImapClientStdError
impl From<ImapExtensionEnableError> for ImapClientStdError
Source§fn from(source: ImapExtensionEnableError) -> Self
fn from(source: ImapExtensionEnableError) -> Self
Converts to this type from the input type.
Source§impl From<ImapGreetingGetError> for ImapClientStdError
impl From<ImapGreetingGetError> for ImapClientStdError
Source§fn from(source: ImapGreetingGetError) -> Self
fn from(source: ImapGreetingGetError) -> Self
Converts to this type from the input type.
Source§impl From<ImapLoginError> for ImapClientStdError
impl From<ImapLoginError> for ImapClientStdError
Source§fn from(source: ImapLoginError) -> Self
fn from(source: ImapLoginError) -> Self
Converts to this type from the input type.
Source§impl From<ImapLogoutError> for ImapClientStdError
impl From<ImapLogoutError> for ImapClientStdError
Source§fn from(source: ImapLogoutError) -> Self
fn from(source: ImapLogoutError) -> Self
Converts to this type from the input type.
Source§impl From<ImapMailboxCheckError> for ImapClientStdError
impl From<ImapMailboxCheckError> for ImapClientStdError
Source§fn from(source: ImapMailboxCheckError) -> Self
fn from(source: ImapMailboxCheckError) -> Self
Converts to this type from the input type.
Source§impl From<ImapMailboxCloseError> for ImapClientStdError
impl From<ImapMailboxCloseError> for ImapClientStdError
Source§fn from(source: ImapMailboxCloseError) -> Self
fn from(source: ImapMailboxCloseError) -> Self
Converts to this type from the input type.
Source§impl From<ImapMailboxCreateError> for ImapClientStdError
impl From<ImapMailboxCreateError> for ImapClientStdError
Source§fn from(source: ImapMailboxCreateError) -> Self
fn from(source: ImapMailboxCreateError) -> Self
Converts to this type from the input type.
Source§impl From<ImapMailboxDeleteError> for ImapClientStdError
impl From<ImapMailboxDeleteError> for ImapClientStdError
Source§fn from(source: ImapMailboxDeleteError) -> Self
fn from(source: ImapMailboxDeleteError) -> Self
Converts to this type from the input type.
Source§impl From<ImapMailboxExamineError> for ImapClientStdError
impl From<ImapMailboxExamineError> for ImapClientStdError
Source§fn from(source: ImapMailboxExamineError) -> Self
fn from(source: ImapMailboxExamineError) -> Self
Converts to this type from the input type.
Source§impl From<ImapMailboxExpungeError> for ImapClientStdError
impl From<ImapMailboxExpungeError> for ImapClientStdError
Source§fn from(source: ImapMailboxExpungeError) -> Self
fn from(source: ImapMailboxExpungeError) -> Self
Converts to this type from the input type.
Source§impl From<ImapMailboxListError> for ImapClientStdError
impl From<ImapMailboxListError> for ImapClientStdError
Source§fn from(source: ImapMailboxListError) -> Self
fn from(source: ImapMailboxListError) -> Self
Converts to this type from the input type.
Source§impl From<ImapMailboxLsubError> for ImapClientStdError
impl From<ImapMailboxLsubError> for ImapClientStdError
Source§fn from(source: ImapMailboxLsubError) -> Self
fn from(source: ImapMailboxLsubError) -> Self
Converts to this type from the input type.
Source§impl From<ImapMailboxRenameError> for ImapClientStdError
impl From<ImapMailboxRenameError> for ImapClientStdError
Source§fn from(source: ImapMailboxRenameError) -> Self
fn from(source: ImapMailboxRenameError) -> Self
Converts to this type from the input type.
Source§impl From<ImapMailboxSelectError> for ImapClientStdError
impl From<ImapMailboxSelectError> for ImapClientStdError
Source§fn from(source: ImapMailboxSelectError) -> Self
fn from(source: ImapMailboxSelectError) -> Self
Converts to this type from the input type.
Source§impl From<ImapMailboxSortError> for ImapClientStdError
impl From<ImapMailboxSortError> for ImapClientStdError
Source§fn from(source: ImapMailboxSortError) -> Self
fn from(source: ImapMailboxSortError) -> Self
Converts to this type from the input type.
Source§impl From<ImapMailboxStatusError> for ImapClientStdError
impl From<ImapMailboxStatusError> for ImapClientStdError
Source§fn from(source: ImapMailboxStatusError) -> Self
fn from(source: ImapMailboxStatusError) -> Self
Converts to this type from the input type.
Source§impl From<ImapMailboxSubscribeError> for ImapClientStdError
impl From<ImapMailboxSubscribeError> for ImapClientStdError
Source§fn from(source: ImapMailboxSubscribeError) -> Self
fn from(source: ImapMailboxSubscribeError) -> Self
Converts to this type from the input type.
Source§impl From<ImapMailboxUnselectError> for ImapClientStdError
impl From<ImapMailboxUnselectError> for ImapClientStdError
Source§fn from(source: ImapMailboxUnselectError) -> Self
fn from(source: ImapMailboxUnselectError) -> Self
Converts to this type from the input type.
Source§impl From<ImapMailboxUnsubscribeError> for ImapClientStdError
impl From<ImapMailboxUnsubscribeError> for ImapClientStdError
Source§fn from(source: ImapMailboxUnsubscribeError) -> Self
fn from(source: ImapMailboxUnsubscribeError) -> Self
Converts to this type from the input type.
Source§impl From<ImapMailboxWatchError> for ImapClientStdError
impl From<ImapMailboxWatchError> for ImapClientStdError
Source§fn from(source: ImapMailboxWatchError) -> Self
fn from(source: ImapMailboxWatchError) -> Self
Converts to this type from the input type.
Source§impl From<ImapMessageAppendError> for ImapClientStdError
impl From<ImapMessageAppendError> for ImapClientStdError
Source§fn from(source: ImapMessageAppendError) -> Self
fn from(source: ImapMessageAppendError) -> Self
Converts to this type from the input type.
Source§impl From<ImapMessageCopyError> for ImapClientStdError
impl From<ImapMessageCopyError> for ImapClientStdError
Source§fn from(source: ImapMessageCopyError) -> Self
fn from(source: ImapMessageCopyError) -> Self
Converts to this type from the input type.
Source§impl From<ImapMessageFetchError> for ImapClientStdError
impl From<ImapMessageFetchError> for ImapClientStdError
Source§fn from(source: ImapMessageFetchError) -> Self
fn from(source: ImapMessageFetchError) -> Self
Converts to this type from the input type.
Source§impl From<ImapMessageMoveError> for ImapClientStdError
impl From<ImapMessageMoveError> for ImapClientStdError
Source§fn from(source: ImapMessageMoveError) -> Self
fn from(source: ImapMessageMoveError) -> Self
Converts to this type from the input type.
Source§impl From<ImapMessageSearchError> for ImapClientStdError
impl From<ImapMessageSearchError> for ImapClientStdError
Source§fn from(source: ImapMessageSearchError) -> Self
fn from(source: ImapMessageSearchError) -> Self
Converts to this type from the input type.
Source§impl From<ImapMessageStoreError> for ImapClientStdError
impl From<ImapMessageStoreError> for ImapClientStdError
Source§fn from(source: ImapMessageStoreError) -> Self
fn from(source: ImapMessageStoreError) -> Self
Converts to this type from the input type.
Source§impl From<ImapMessageThreadError> for ImapClientStdError
impl From<ImapMessageThreadError> for ImapClientStdError
Source§fn from(source: ImapMessageThreadError) -> Self
fn from(source: ImapMessageThreadError) -> Self
Converts to this type from the input type.
Source§impl From<ImapNoopError> for ImapClientStdError
impl From<ImapNoopError> for ImapClientStdError
Source§fn from(source: ImapNoopError) -> Self
fn from(source: ImapNoopError) -> Self
Converts to this type from the input type.
Source§impl From<ImapServerIdError> for ImapClientStdError
impl From<ImapServerIdError> for ImapClientStdError
Source§fn from(source: ImapServerIdError) -> Self
fn from(source: ImapServerIdError) -> Self
Converts to this type from the input type.
Source§impl From<ImapStartTlsError> for ImapClientStdError
impl From<ImapStartTlsError> for ImapClientStdError
Source§fn from(source: ImapStartTlsError) -> Self
fn from(source: ImapStartTlsError) -> Self
Converts to this type from the input type.
Source§impl From<ValidationError> for ImapClientStdError
impl From<ValidationError> for ImapClientStdError
Source§fn from(source: ValidationError) -> Self
fn from(source: ValidationError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl !RefUnwindSafe for ImapClientStdError
impl !UnwindSafe for ImapClientStdError
impl Freeze for ImapClientStdError
impl Send for ImapClientStdError
impl Sync for ImapClientStdError
impl Unpin for ImapClientStdError
impl UnsafeUnpin for ImapClientStdError
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