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