pub enum JmapGetError {
MissingResponse,
Send(JmapSendError),
SerializeArgs(Error),
ParseResponse(Error),
Method(JmapMethodError),
}Expand description
Failure causes during a JMAP Foo/get flow.
Variants§
MissingResponse
Send(JmapSendError)
SerializeArgs(Error)
ParseResponse(Error)
Method(JmapMethodError)
Trait Implementations§
Source§impl Debug for JmapGetError
impl Debug for JmapGetError
Source§impl Display for JmapGetError
impl Display for JmapGetError
Source§impl Error for JmapGetError
impl Error for JmapGetError
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<JmapGetError> for JmapEmailGetError
impl From<JmapGetError> for JmapEmailGetError
Source§fn from(source: JmapGetError) -> Self
fn from(source: JmapGetError) -> Self
Converts to this type from the input type.
Source§impl From<JmapGetError> for JmapEmailSubmissionGetError
impl From<JmapGetError> for JmapEmailSubmissionGetError
Source§fn from(source: JmapGetError) -> Self
fn from(source: JmapGetError) -> Self
Converts to this type from the input type.
Source§impl From<JmapGetError> for JmapIdentityGetError
impl From<JmapGetError> for JmapIdentityGetError
Source§fn from(source: JmapGetError) -> Self
fn from(source: JmapGetError) -> Self
Converts to this type from the input type.
Source§impl From<JmapGetError> for JmapMailboxGetError
impl From<JmapGetError> for JmapMailboxGetError
Source§fn from(source: JmapGetError) -> Self
fn from(source: JmapGetError) -> Self
Converts to this type from the input type.
Source§impl From<JmapGetError> for JmapThreadGetError
impl From<JmapGetError> for JmapThreadGetError
Source§fn from(source: JmapGetError) -> Self
fn from(source: JmapGetError) -> Self
Converts to this type from the input type.
Source§impl From<JmapGetError> for JmapVacationResponseGetError
impl From<JmapGetError> for JmapVacationResponseGetError
Source§fn from(source: JmapGetError) -> Self
fn from(source: JmapGetError) -> Self
Converts to this type from the input type.
Source§impl From<JmapMethodError> for JmapGetError
impl From<JmapMethodError> for JmapGetError
Source§fn from(source: JmapMethodError) -> Self
fn from(source: JmapMethodError) -> Self
Converts to this type from the input type.
Source§impl From<JmapSendError> for JmapGetError
impl From<JmapSendError> for JmapGetError
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 JmapGetError
impl RefUnwindSafe for JmapGetError
impl Send for JmapGetError
impl Sync for JmapGetError
impl Unpin for JmapGetError
impl UnsafeUnpin for JmapGetError
impl UnwindSafe for JmapGetError
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