pub enum JmapMailboxSetError {
Send(JmapSendError),
SerializeArgs(Error),
Set(JmapSetError),
}Expand description
Failure causes during a JMAP Mailbox/set flow.
Variants§
Send(JmapSendError)
The inner send coroutine failed.
SerializeArgs(Error)
The method arguments could not be serialized.
Set(JmapSetError)
The inner generic set coroutine failed.
Trait Implementations§
Source§impl Debug for JmapMailboxSetError
impl Debug for JmapMailboxSetError
Source§impl Display for JmapMailboxSetError
impl Display for JmapMailboxSetError
Source§impl Error for JmapMailboxSetError
impl Error for JmapMailboxSetError
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<JmapMailboxSetError> for JmapClientStdError
Available on crate feature client only.
impl From<JmapMailboxSetError> for JmapClientStdError
Available on crate feature
client only.Source§fn from(source: JmapMailboxSetError) -> Self
fn from(source: JmapMailboxSetError) -> Self
Converts to this type from the input type.
Source§impl From<JmapSendError> for JmapMailboxSetError
impl From<JmapSendError> for JmapMailboxSetError
Source§fn from(source: JmapSendError) -> Self
fn from(source: JmapSendError) -> 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.
Auto Trait Implementations§
impl Freeze for JmapMailboxSetError
impl RefUnwindSafe for JmapMailboxSetError
impl Send for JmapMailboxSetError
impl Sync for JmapMailboxSetError
impl Unpin for JmapMailboxSetError
impl UnsafeUnpin for JmapMailboxSetError
impl UnwindSafe for JmapMailboxSetError
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