pub enum CalendarApiError {
ApiError(String),
AuthError(String),
EventRetrievalError(String),
EventFormatError(String),
NetworkError(String),
RateLimitError(String),
ParseError(String),
}Expand description
Error type for Calendar API operations
Variants§
ApiError(String)
AuthError(String)
EventRetrievalError(String)
EventFormatError(String)
NetworkError(String)
RateLimitError(String)
ParseError(String)
Trait Implementations§
Source§impl Debug for CalendarApiError
impl Debug for CalendarApiError
Source§impl Display for CalendarApiError
impl Display for CalendarApiError
Source§impl Error for CalendarApiError
impl Error for CalendarApiError
1.30.0 · 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()
Auto Trait Implementations§
impl Freeze for CalendarApiError
impl RefUnwindSafe for CalendarApiError
impl Send for CalendarApiError
impl Sync for CalendarApiError
impl Unpin for CalendarApiError
impl UnsafeUnpin for CalendarApiError
impl UnwindSafe for CalendarApiError
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