pub enum M2dirClientError {
Show 13 variants
Io(Error),
MailboxList(M2dirMailboxListError),
EnvelopeList(M2dirEnvelopeListError),
EnvelopeSearch(M2dirEnvelopeSearchError),
FlagStore(M2dirFlagStoreError),
MailboxCreate(M2dirMailboxCreateError),
MailboxDelete(M2dirMailboxDeleteError),
MessageAdd(M2dirMessageAddError),
MessageCopy(M2dirMessageCopyError),
MessageDelete(M2dirMessageDeleteError),
MessageGet(M2dirMessageGetError),
MessageMove(M2dirMessageMoveError),
Inner(M2dirClientError),
}Available on crate features
client and m2dir only.Expand description
Errors surfaced by M2dirClient while running a coroutine.
One variant per shared-API m2dir coroutine.
Variants§
Io(Error)
MailboxList(M2dirMailboxListError)
EnvelopeList(M2dirEnvelopeListError)
EnvelopeSearch(M2dirEnvelopeSearchError)
Available on crate feature
search only.FlagStore(M2dirFlagStoreError)
MailboxCreate(M2dirMailboxCreateError)
MailboxDelete(M2dirMailboxDeleteError)
MessageAdd(M2dirMessageAddError)
MessageCopy(M2dirMessageCopyError)
MessageDelete(M2dirMessageDeleteError)
MessageGet(M2dirMessageGetError)
MessageMove(M2dirMessageMoveError)
Inner(M2dirClientError)
Trait Implementations§
Source§impl Debug for M2dirClientError
impl Debug for M2dirClientError
Source§impl Display for M2dirClientError
impl Display for M2dirClientError
Source§impl Error for M2dirClientError
impl Error for M2dirClientError
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 M2dirClientError
impl From<Error> for M2dirClientError
Source§impl From<M2dirClientError> for EmailClientStdError
Available on crate features imap or jmap or m2dir or maildir or smtp only.
impl From<M2dirClientError> for EmailClientStdError
Available on crate features
imap or jmap or m2dir or maildir or smtp only.Source§fn from(source: M2dirClientError) -> Self
fn from(source: M2dirClientError) -> Self
Converts to this type from the input type.
Source§impl From<M2dirClientError> for M2dirClientError
impl From<M2dirClientError> for M2dirClientError
Source§fn from(source: M2dirClientError) -> Self
fn from(source: M2dirClientError) -> Self
Converts to this type from the input type.
Source§impl From<M2dirEnvelopeListError> for M2dirClientError
impl From<M2dirEnvelopeListError> for M2dirClientError
Source§fn from(source: M2dirEnvelopeListError) -> Self
fn from(source: M2dirEnvelopeListError) -> Self
Converts to this type from the input type.
Source§impl From<M2dirEnvelopeSearchError> for M2dirClientError
impl From<M2dirEnvelopeSearchError> for M2dirClientError
Source§fn from(source: M2dirEnvelopeSearchError) -> Self
fn from(source: M2dirEnvelopeSearchError) -> Self
Converts to this type from the input type.
Source§impl From<M2dirFlagStoreError> for M2dirClientError
impl From<M2dirFlagStoreError> for M2dirClientError
Source§fn from(source: M2dirFlagStoreError) -> Self
fn from(source: M2dirFlagStoreError) -> Self
Converts to this type from the input type.
Source§impl From<M2dirMailboxCreateError> for M2dirClientError
impl From<M2dirMailboxCreateError> for M2dirClientError
Source§fn from(source: M2dirMailboxCreateError) -> Self
fn from(source: M2dirMailboxCreateError) -> Self
Converts to this type from the input type.
Source§impl From<M2dirMailboxDeleteError> for M2dirClientError
impl From<M2dirMailboxDeleteError> for M2dirClientError
Source§fn from(source: M2dirMailboxDeleteError) -> Self
fn from(source: M2dirMailboxDeleteError) -> Self
Converts to this type from the input type.
Source§impl From<M2dirMailboxListError> for M2dirClientError
impl From<M2dirMailboxListError> for M2dirClientError
Source§fn from(source: M2dirMailboxListError) -> Self
fn from(source: M2dirMailboxListError) -> Self
Converts to this type from the input type.
Source§impl From<M2dirMessageAddError> for M2dirClientError
impl From<M2dirMessageAddError> for M2dirClientError
Source§fn from(source: M2dirMessageAddError) -> Self
fn from(source: M2dirMessageAddError) -> Self
Converts to this type from the input type.
Source§impl From<M2dirMessageCopyError> for M2dirClientError
impl From<M2dirMessageCopyError> for M2dirClientError
Source§fn from(source: M2dirMessageCopyError) -> Self
fn from(source: M2dirMessageCopyError) -> Self
Converts to this type from the input type.
Source§impl From<M2dirMessageDeleteError> for M2dirClientError
impl From<M2dirMessageDeleteError> for M2dirClientError
Source§fn from(source: M2dirMessageDeleteError) -> Self
fn from(source: M2dirMessageDeleteError) -> Self
Converts to this type from the input type.
Source§impl From<M2dirMessageGetError> for M2dirClientError
impl From<M2dirMessageGetError> for M2dirClientError
Source§fn from(source: M2dirMessageGetError) -> Self
fn from(source: M2dirMessageGetError) -> Self
Converts to this type from the input type.
Source§impl From<M2dirMessageMoveError> for M2dirClientError
impl From<M2dirMessageMoveError> for M2dirClientError
Source§fn from(source: M2dirMessageMoveError) -> Self
fn from(source: M2dirMessageMoveError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl !RefUnwindSafe for M2dirClientError
impl !UnwindSafe for M2dirClientError
impl Freeze for M2dirClientError
impl Send for M2dirClientError
impl Sync for M2dirClientError
impl Unpin for M2dirClientError
impl UnsafeUnpin for M2dirClientError
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
Source§impl<T, S> SpanWrap<S> for Twhere
S: WrappingSpan<T>,
impl<T, S> SpanWrap<S> for Twhere
S: WrappingSpan<T>,
Source§fn with_span(self, span: S) -> <S as WrappingSpan<Self>>::Spanned
fn with_span(self, span: S) -> <S as WrappingSpan<Self>>::Spanned
Invokes
WrappingSpan::make_wrapped to wrap an AST node in a span.