Enum notify_rust::error::MacOsError
source · pub enum MacOsError {
Application(ApplicationError),
Notification(NotificationError),
}Expand description
Our local error Type
Variants§
Application(ApplicationError)
Application related Error
Notification(NotificationError)
Notification related Error
Trait Implementations§
source§impl Error for Error
impl Error for Error
1.30.0 · source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
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<ApplicationError> for Error
impl From<ApplicationError> for Error
source§fn from(e: ApplicationError) -> Error
fn from(e: ApplicationError) -> Error
Converts to this type from the input type.
source§impl From<NotificationError> for Error
impl From<NotificationError> for Error
source§fn from(e: NotificationError) -> Error
fn from(e: NotificationError) -> Error
Converts to this type from the input type.