pub enum JmapMailboxQueryError {
MissingQueryResponse,
MissingGetResponse,
Send(JmapSendError),
SerializeArgs(Error),
ParseQueryResponse(Error),
ParseGetResponse(Error),
QueryMethod(JmapMethodError),
GetMethod(JmapMethodError),
}Expand description
Failure causes during a batched JMAP Mailbox/query + Mailbox/get flow.
Variants§
MissingQueryResponse
MissingGetResponse
Send(JmapSendError)
SerializeArgs(Error)
ParseQueryResponse(Error)
ParseGetResponse(Error)
QueryMethod(JmapMethodError)
GetMethod(JmapMethodError)
Trait Implementations§
Source§impl Debug for JmapMailboxQueryError
impl Debug for JmapMailboxQueryError
Source§impl Display for JmapMailboxQueryError
impl Display for JmapMailboxQueryError
Source§impl Error for JmapMailboxQueryError
impl Error for JmapMailboxQueryError
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<JmapMailboxQueryError> for JmapClientStdError
Available on crate feature client only.
impl From<JmapMailboxQueryError> for JmapClientStdError
Available on crate feature
client only.Source§fn from(source: JmapMailboxQueryError) -> Self
fn from(source: JmapMailboxQueryError) -> Self
Converts to this type from the input type.
Source§impl From<JmapSendError> for JmapMailboxQueryError
impl From<JmapSendError> for JmapMailboxQueryError
Source§fn from(source: JmapSendError) -> Self
fn from(source: JmapSendError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for JmapMailboxQueryError
impl RefUnwindSafe for JmapMailboxQueryError
impl Send for JmapMailboxQueryError
impl Sync for JmapMailboxQueryError
impl Unpin for JmapMailboxQueryError
impl UnsafeUnpin for JmapMailboxQueryError
impl UnwindSafe for JmapMailboxQueryError
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