pub enum JmapChangesError {
MissingResponse,
Send(JmapSendError),
SerializeArgs(Error),
ParseResponse(Error),
Method(JmapMethodError),
}Expand description
Failure causes during a JMAP Foo/changes flow.
Variants§
MissingResponse
The response carried no method response.
Send(JmapSendError)
The inner send coroutine failed.
SerializeArgs(Error)
The method arguments could not be serialized.
ParseResponse(Error)
The method response could not be parsed.
Method(JmapMethodError)
The server returned a method-level error.
Trait Implementations§
Source§impl Debug for JmapChangesError
impl Debug for JmapChangesError
Source§impl Display for JmapChangesError
impl Display for JmapChangesError
Source§impl Error for JmapChangesError
impl Error for JmapChangesError
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<JmapChangesError> for JmapEmailChangesError
impl From<JmapChangesError> for JmapEmailChangesError
Source§fn from(source: JmapChangesError) -> Self
fn from(source: JmapChangesError) -> Self
Converts to this type from the input type.
Source§impl From<JmapChangesError> for JmapMailboxChangesError
impl From<JmapChangesError> for JmapMailboxChangesError
Source§fn from(source: JmapChangesError) -> Self
fn from(source: JmapChangesError) -> Self
Converts to this type from the input type.
Source§impl From<JmapChangesError> for JmapThreadChangesError
impl From<JmapChangesError> for JmapThreadChangesError
Source§fn from(source: JmapChangesError) -> Self
fn from(source: JmapChangesError) -> Self
Converts to this type from the input type.
Source§impl From<JmapChangesError> for JmapAddressBookChangesError
impl From<JmapChangesError> for JmapAddressBookChangesError
Source§fn from(source: JmapChangesError) -> Self
fn from(source: JmapChangesError) -> Self
Converts to this type from the input type.
Source§impl From<JmapChangesError> for JmapContactCardChangesError
impl From<JmapChangesError> for JmapContactCardChangesError
Source§fn from(source: JmapChangesError) -> Self
fn from(source: JmapChangesError) -> Self
Converts to this type from the input type.
Source§impl From<JmapMethodError> for JmapChangesError
impl From<JmapMethodError> for JmapChangesError
Source§fn from(source: JmapMethodError) -> Self
fn from(source: JmapMethodError) -> Self
Converts to this type from the input type.
Source§impl From<JmapSendError> for JmapChangesError
impl From<JmapSendError> for JmapChangesError
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 JmapChangesError
impl RefUnwindSafe for JmapChangesError
impl Send for JmapChangesError
impl Sync for JmapChangesError
impl Unpin for JmapChangesError
impl UnsafeUnpin for JmapChangesError
impl UnwindSafe for JmapChangesError
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