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