pub enum JmapCalendarEventQueryError {
MissingQueryResponse,
MissingGetResponse,
Send(JmapSendError),
SerializeArgs(Error),
ParseQueryResponse(Error),
ParseGetResponse(Error),
QueryMethod(JmapMethodError),
GetMethod(JmapMethodError),
}Expand description
Failure causes during a batched JMAP CalendarEvent/query +
CalendarEvent/get flow.
Variants§
MissingQueryResponse
The response carried no query response.
MissingGetResponse
The response carried no get response.
Send(JmapSendError)
The inner send coroutine failed.
SerializeArgs(Error)
The method arguments could not be serialized.
ParseQueryResponse(Error)
The query response could not be parsed.
ParseGetResponse(Error)
The get response could not be parsed.
QueryMethod(JmapMethodError)
The server returned a method-level error for the query call.
GetMethod(JmapMethodError)
The server returned a method-level error for the get call.
Trait Implementations§
Source§impl Debug for JmapCalendarEventQueryError
impl Debug for JmapCalendarEventQueryError
Source§impl Error for JmapCalendarEventQueryError
impl Error for JmapCalendarEventQueryError
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<JmapCalendarEventQueryError> for JmapClientStdError
Available on crate feature client only.
impl From<JmapCalendarEventQueryError> for JmapClientStdError
Available on crate feature
client only.Source§fn from(source: JmapCalendarEventQueryError) -> Self
fn from(source: JmapCalendarEventQueryError) -> Self
Converts to this type from the input type.
Source§impl From<JmapSendError> for JmapCalendarEventQueryError
impl From<JmapSendError> for JmapCalendarEventQueryError
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 JmapCalendarEventQueryError
impl RefUnwindSafe for JmapCalendarEventQueryError
impl Send for JmapCalendarEventQueryError
impl Sync for JmapCalendarEventQueryError
impl Unpin for JmapCalendarEventQueryError
impl UnsafeUnpin for JmapCalendarEventQueryError
impl UnwindSafe for JmapCalendarEventQueryError
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