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