pub enum JmapSetError {
MissingResponse,
Send(JmapSendError),
SerializeArgs(Error),
ParseResponse(Error),
Method(JmapMethodError),
}Expand description
Failure causes during a JMAP Foo/set 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 JmapSetError
impl Debug for JmapSetError
Source§impl Display for JmapSetError
impl Display for JmapSetError
Source§impl Error for JmapSetError
impl Error for JmapSetError
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<JmapMethodError> for JmapSetError
impl From<JmapMethodError> for JmapSetError
Source§fn from(source: JmapMethodError) -> Self
fn from(source: JmapMethodError) -> Self
Converts to this type from the input type.
Source§impl From<JmapSendError> for JmapSetError
impl From<JmapSendError> for JmapSetError
Source§fn from(source: JmapSendError) -> Self
fn from(source: JmapSendError) -> Self
Converts to this type from the input type.
Source§impl From<JmapSetError> for JmapEmailSetError
impl From<JmapSetError> for JmapEmailSetError
Source§fn from(source: JmapSetError) -> Self
fn from(source: JmapSetError) -> Self
Converts to this type from the input type.
Source§impl From<JmapSetError> for JmapMailboxSetError
impl From<JmapSetError> for JmapMailboxSetError
Source§fn from(source: JmapSetError) -> Self
fn from(source: JmapSetError) -> Self
Converts to this type from the input type.
Source§impl From<JmapSetError> for JmapAddressBookSetError
impl From<JmapSetError> for JmapAddressBookSetError
Source§fn from(source: JmapSetError) -> Self
fn from(source: JmapSetError) -> Self
Converts to this type from the input type.
Source§impl From<JmapSetError> for JmapContactCardSetError
impl From<JmapSetError> for JmapContactCardSetError
Source§fn from(source: JmapSetError) -> Self
fn from(source: JmapSetError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for JmapSetError
impl RefUnwindSafe for JmapSetError
impl Send for JmapSetError
impl Sync for JmapSetError
impl Unpin for JmapSetError
impl UnsafeUnpin for JmapSetError
impl UnwindSafe for JmapSetError
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