pub enum ImapMessageCopyError {
Select(ImapMailboxSelectError),
Copy(ImapMessageCopyError),
InvalidMailbox(String),
InvalidUid(String),
EmptyUidSet,
ResumedAfterDone,
}Available on crate feature
imap only.Expand description
Errors produced by ImapMessageCopy.
Variants§
Select(ImapMailboxSelectError)
Copy(ImapMessageCopyError)
InvalidMailbox(String)
InvalidUid(String)
EmptyUidSet
ResumedAfterDone
Trait Implementations§
Source§impl Debug for ImapMessageCopyError
impl Debug for ImapMessageCopyError
Source§impl Display for ImapMessageCopyError
impl Display for ImapMessageCopyError
Source§impl Error for ImapMessageCopyError
impl Error for ImapMessageCopyError
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<ImapMailboxSelectError> for ImapMessageCopyError
impl From<ImapMailboxSelectError> for ImapMessageCopyError
Source§fn from(source: ImapMailboxSelectError) -> Self
fn from(source: ImapMailboxSelectError) -> Self
Converts to this type from the input type.
Source§impl From<ImapMessageCopyError> for ImapClientError
Available on crate feature client only.
impl From<ImapMessageCopyError> for ImapClientError
Available on crate feature
client only.Source§fn from(source: ImapMessageCopyError) -> Self
fn from(source: ImapMessageCopyError) -> Self
Converts to this type from the input type.
Source§impl From<ImapMessageCopyError> for ImapMessageCopyError
impl From<ImapMessageCopyError> for ImapMessageCopyError
Source§fn from(source: InnerImapMessageCopyError) -> Self
fn from(source: InnerImapMessageCopyError) -> Self
Converts to this type from the input type.
Source§impl From<InvalidMailboxName> for ImapMessageCopyError
impl From<InvalidMailboxName> for ImapMessageCopyError
Source§fn from(err: InvalidMailboxName) -> Self
fn from(err: InvalidMailboxName) -> Self
Converts to this type from the input type.
Source§impl From<InvalidUidSet> for ImapMessageCopyError
impl From<InvalidUidSet> for ImapMessageCopyError
Source§fn from(err: InvalidUidSet) -> Self
fn from(err: InvalidUidSet) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for ImapMessageCopyError
impl RefUnwindSafe for ImapMessageCopyError
impl Send for ImapMessageCopyError
impl Sync for ImapMessageCopyError
impl Unpin for ImapMessageCopyError
impl UnsafeUnpin for ImapMessageCopyError
impl UnwindSafe for ImapMessageCopyError
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.