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