pub enum JmapWatchMailboxError {
EventSource(JmapEventSourceError),
EmailChanges(JmapEmailChangesError),
EmailGet(JmapEmailGetError),
}Available on crate feature
jmap only.Expand description
Errors produced by JmapWatchMailbox.
Variants§
Trait Implementations§
Source§impl Debug for JmapWatchMailboxError
impl Debug for JmapWatchMailboxError
Source§impl Display for JmapWatchMailboxError
impl Display for JmapWatchMailboxError
Source§impl Error for JmapWatchMailboxError
impl Error for JmapWatchMailboxError
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<JmapEmailChangesError> for JmapWatchMailboxError
impl From<JmapEmailChangesError> for JmapWatchMailboxError
Source§fn from(source: JmapEmailChangesError) -> Self
fn from(source: JmapEmailChangesError) -> Self
Converts to this type from the input type.
Source§impl From<JmapEmailGetError> for JmapWatchMailboxError
impl From<JmapEmailGetError> for JmapWatchMailboxError
Source§fn from(source: JmapEmailGetError) -> Self
fn from(source: JmapEmailGetError) -> Self
Converts to this type from the input type.
Source§impl From<JmapEventSourceError> for JmapWatchMailboxError
impl From<JmapEventSourceError> for JmapWatchMailboxError
Source§fn from(source: JmapEventSourceError) -> Self
fn from(source: JmapEventSourceError) -> Self
Converts to this type from the input type.
Source§impl From<JmapWatchMailboxError> for JmapClientError
Available on crate feature client only.
impl From<JmapWatchMailboxError> for JmapClientError
Available on crate feature
client only.Source§fn from(source: JmapWatchMailboxError) -> Self
fn from(source: JmapWatchMailboxError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for JmapWatchMailboxError
impl RefUnwindSafe for JmapWatchMailboxError
impl Send for JmapWatchMailboxError
impl Sync for JmapWatchMailboxError
impl Unpin for JmapWatchMailboxError
impl UnsafeUnpin for JmapWatchMailboxError
impl UnwindSafe for JmapWatchMailboxError
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.