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