pub enum JmapEmailSetError {
Send(JmapSendError),
SerializeArgs(Error),
Set(JmapSetError),
}Expand description
Failure causes during a JMAP Email/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 JmapEmailSetError
impl Debug for JmapEmailSetError
Source§impl Display for JmapEmailSetError
impl Display for JmapEmailSetError
Source§impl Error for JmapEmailSetError
impl Error for JmapEmailSetError
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<JmapEmailSetError> for JmapClientStdError
Available on crate feature client only.
impl From<JmapEmailSetError> for JmapClientStdError
Available on crate feature
client only.Source§fn from(source: JmapEmailSetError) -> Self
fn from(source: JmapEmailSetError) -> Self
Converts to this type from the input type.
Source§impl From<JmapSendError> for JmapEmailSetError
impl From<JmapSendError> for JmapEmailSetError
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.
Auto Trait Implementations§
impl Freeze for JmapEmailSetError
impl RefUnwindSafe for JmapEmailSetError
impl Send for JmapEmailSetError
impl Sync for JmapEmailSetError
impl Unpin for JmapEmailSetError
impl UnsafeUnpin for JmapEmailSetError
impl UnwindSafe for JmapEmailSetError
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