pub enum JmapMessageGetError {
EmailGet(JmapEmailGetError),
BlobDownload(JmapBlobDownloadError),
EmailNotFound,
MissingBlobId,
InvalidDownloadUrl(String),
UnsupportedRedirect,
ResumedAfterDone,
}Available on crate feature
jmap only.Expand description
Errors produced by JmapMessageGet.
Variants§
EmailGet(JmapEmailGetError)
BlobDownload(JmapBlobDownloadError)
EmailNotFound
MissingBlobId
InvalidDownloadUrl(String)
UnsupportedRedirect
ResumedAfterDone
Trait Implementations§
Source§impl Debug for JmapMessageGetError
impl Debug for JmapMessageGetError
Source§impl Display for JmapMessageGetError
impl Display for JmapMessageGetError
Source§impl Error for JmapMessageGetError
impl Error for JmapMessageGetError
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<JmapBlobDownloadError> for JmapMessageGetError
impl From<JmapBlobDownloadError> for JmapMessageGetError
Source§fn from(source: JmapBlobDownloadError) -> Self
fn from(source: JmapBlobDownloadError) -> Self
Converts to this type from the input type.
Source§impl From<JmapEmailGetError> for JmapMessageGetError
impl From<JmapEmailGetError> for JmapMessageGetError
Source§impl From<JmapMessageGetError> for JmapClientError
Available on crate feature client only.
impl From<JmapMessageGetError> for JmapClientError
Available on crate feature
client only.Source§fn from(source: JmapMessageGetError) -> Self
fn from(source: JmapMessageGetError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for JmapMessageGetError
impl RefUnwindSafe for JmapMessageGetError
impl Send for JmapMessageGetError
impl Sync for JmapMessageGetError
impl Unpin for JmapMessageGetError
impl UnsafeUnpin for JmapMessageGetError
impl UnwindSafe for JmapMessageGetError
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.