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