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