pub enum EventKitError {
AuthorizationDenied,
AuthorizationRestricted,
AuthorizationNotDetermined,
AuthorizationRequestFailed(String),
NoDefaultCalendar,
CalendarNotFound(String),
ItemNotFound(String),
SaveFailed(String),
DeleteFailed(String),
FetchFailed(String),
EventKitError(String),
InvalidDateRange,
}Expand description
Errors that can occur when working with EventKit
Variants§
AuthorizationDenied
AuthorizationRestricted
AuthorizationNotDetermined
AuthorizationRequestFailed(String)
NoDefaultCalendar
CalendarNotFound(String)
ItemNotFound(String)
SaveFailed(String)
DeleteFailed(String)
FetchFailed(String)
EventKitError(String)
InvalidDateRange
Trait Implementations§
Source§impl Debug for EventKitError
impl Debug for EventKitError
Source§impl Display for EventKitError
impl Display for EventKitError
Source§impl Error for EventKitError
impl Error for EventKitError
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 EventKitError
impl RefUnwindSafe for EventKitError
impl Send for EventKitError
impl Sync for EventKitError
impl Unpin for EventKitError
impl UnwindSafe for EventKitError
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