Skip to main content

ImapClientStdError

Enum ImapClientStdError 

Source
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

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl Display for ImapClientStdError

Source§

fn fmt(&self, __formatter: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl Error for ImapClientStdError

Source§

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

👎Deprecated since 1.42.0:

use the Display impl or to_string()

1.0.0 · Source§

fn cause(&self) -> Option<&dyn Error>

👎Deprecated since 1.33.0:

replaced by Error::source, which can support downcasting

Source§

fn provide<'a>(&'a self, request: &mut Request<'a>)

🔬This is a nightly-only experimental API. (error_generic_member_access)
Provides type-based access to context intended for error reports. Read more
Source§

impl From<Error> for ImapClientStdError

Source§

fn from(source: Error) -> Self

Converts to this type from the input type.
Source§

impl From<Error> for ImapClientStdError

Source§

fn from(source: Error) -> Self

Converts to this type from the input type.
Source§

impl From<ImapAuthAnonymousError> for ImapClientStdError

Source§

fn from(source: ImapAuthAnonymousError) -> Self

Converts to this type from the input type.
Source§

impl From<ImapAuthLoginError> for ImapClientStdError

Source§

fn from(source: ImapAuthLoginError) -> Self

Converts to this type from the input type.
Source§

impl From<ImapAuthOauthbearerError> for ImapClientStdError

Source§

fn from(source: ImapAuthOauthbearerError) -> Self

Converts to this type from the input type.
Source§

impl From<ImapAuthPlainError> for ImapClientStdError

Source§

fn from(source: ImapAuthPlainError) -> Self

Converts to this type from the input type.
Source§

impl From<ImapAuthScramSha256Error> for ImapClientStdError

Source§

fn from(source: ImapAuthScramSha256Error) -> Self

Converts to this type from the input type.
Source§

impl From<ImapAuthXoauth2Error> for ImapClientStdError

Source§

fn from(source: ImapAuthXoauth2Error) -> Self

Converts to this type from the input type.
Source§

impl From<ImapCapabilityGetError> for ImapClientStdError

Source§

fn from(source: ImapCapabilityGetError) -> Self

Converts to this type from the input type.
Source§

impl From<ImapExtensionEnableError> for ImapClientStdError

Source§

fn from(source: ImapExtensionEnableError) -> Self

Converts to this type from the input type.
Source§

impl From<ImapGreetingGetError> for ImapClientStdError

Source§

fn from(source: ImapGreetingGetError) -> Self

Converts to this type from the input type.
Source§

impl From<ImapLoginError> for ImapClientStdError

Source§

fn from(source: ImapLoginError) -> Self

Converts to this type from the input type.
Source§

impl From<ImapLogoutError> for ImapClientStdError

Source§

fn from(source: ImapLogoutError) -> Self

Converts to this type from the input type.
Source§

impl From<ImapMailboxCheckError> for ImapClientStdError

Source§

fn from(source: ImapMailboxCheckError) -> Self

Converts to this type from the input type.
Source§

impl From<ImapMailboxCloseError> for ImapClientStdError

Source§

fn from(source: ImapMailboxCloseError) -> Self

Converts to this type from the input type.
Source§

impl From<ImapMailboxCreateError> for ImapClientStdError

Source§

fn from(source: ImapMailboxCreateError) -> Self

Converts to this type from the input type.
Source§

impl From<ImapMailboxDeleteError> for ImapClientStdError

Source§

fn from(source: ImapMailboxDeleteError) -> Self

Converts to this type from the input type.
Source§

impl From<ImapMailboxExamineError> for ImapClientStdError

Source§

fn from(source: ImapMailboxExamineError) -> Self

Converts to this type from the input type.
Source§

impl From<ImapMailboxExpungeError> for ImapClientStdError

Source§

fn from(source: ImapMailboxExpungeError) -> Self

Converts to this type from the input type.
Source§

impl From<ImapMailboxListError> for ImapClientStdError

Source§

fn from(source: ImapMailboxListError) -> Self

Converts to this type from the input type.
Source§

impl From<ImapMailboxLsubError> for ImapClientStdError

Source§

fn from(source: ImapMailboxLsubError) -> Self

Converts to this type from the input type.
Source§

impl From<ImapMailboxRenameError> for ImapClientStdError

Source§

fn from(source: ImapMailboxRenameError) -> Self

Converts to this type from the input type.
Source§

impl From<ImapMailboxSelectError> for ImapClientStdError

Source§

fn from(source: ImapMailboxSelectError) -> Self

Converts to this type from the input type.
Source§

impl From<ImapMailboxSortError> for ImapClientStdError

Source§

fn from(source: ImapMailboxSortError) -> Self

Converts to this type from the input type.
Source§

impl From<ImapMailboxStatusError> for ImapClientStdError

Source§

fn from(source: ImapMailboxStatusError) -> Self

Converts to this type from the input type.
Source§

impl From<ImapMailboxSubscribeError> for ImapClientStdError

Source§

fn from(source: ImapMailboxSubscribeError) -> Self

Converts to this type from the input type.
Source§

impl From<ImapMailboxUnselectError> for ImapClientStdError

Source§

fn from(source: ImapMailboxUnselectError) -> Self

Converts to this type from the input type.
Source§

impl From<ImapMailboxUnsubscribeError> for ImapClientStdError

Source§

fn from(source: ImapMailboxUnsubscribeError) -> Self

Converts to this type from the input type.
Source§

impl From<ImapMailboxWatchError> for ImapClientStdError

Source§

fn from(source: ImapMailboxWatchError) -> Self

Converts to this type from the input type.
Source§

impl From<ImapMessageAppendError> for ImapClientStdError

Source§

fn from(source: ImapMessageAppendError) -> Self

Converts to this type from the input type.
Source§

impl From<ImapMessageCopyError> for ImapClientStdError

Source§

fn from(source: ImapMessageCopyError) -> Self

Converts to this type from the input type.
Source§

impl From<ImapMessageFetchError> for ImapClientStdError

Source§

fn from(source: ImapMessageFetchError) -> Self

Converts to this type from the input type.
Source§

impl From<ImapMessageMoveError> for ImapClientStdError

Source§

fn from(source: ImapMessageMoveError) -> Self

Converts to this type from the input type.
Source§

impl From<ImapMessageSearchError> for ImapClientStdError

Source§

fn from(source: ImapMessageSearchError) -> Self

Converts to this type from the input type.
Source§

impl From<ImapMessageStoreError> for ImapClientStdError

Source§

fn from(source: ImapMessageStoreError) -> Self

Converts to this type from the input type.
Source§

impl From<ImapMessageThreadError> for ImapClientStdError

Source§

fn from(source: ImapMessageThreadError) -> Self

Converts to this type from the input type.
Source§

impl From<ImapNoopError> for ImapClientStdError

Source§

fn from(source: ImapNoopError) -> Self

Converts to this type from the input type.
Source§

impl From<ImapServerIdError> for ImapClientStdError

Source§

fn from(source: ImapServerIdError) -> Self

Converts to this type from the input type.
Source§

impl From<ImapStartTlsError> for ImapClientStdError

Source§

fn from(source: ImapStartTlsError) -> Self

Converts to this type from the input type.
Source§

impl From<ValidationError> for ImapClientStdError

Source§

fn from(source: ValidationError) -> Self

Converts to this type from the input type.

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
where ST: ?Sized, DT: ?Sized,

Source§

impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
where ST: ?Sized, DT: ?Sized,

Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> Read<Exclusive, BecauseExclusive> for T
where T: ?Sized,

Source§

impl<T> Same for T

Source§

type Output = T

Should always be Self
Source§

impl<T> ToString for T
where T: Display + ?Sized,

Source§

fn to_string(&self) -> String

Converts the given value to a String. Read more
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
Source§

impl<V, T> VZip<V> for T
where V: MultiLane<T>,

Source§

fn vzip(self) -> V