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