pub async fn request_auth() -> Result<bool, Error>Expand description
Ask for permission to display notifications.
Returns Ok(true) if granted, Ok(false) if denied.
Prefer this over blocking::request_auth from async contexts.
pub async fn request_auth() -> Result<bool, Error>Ask for permission to display notifications.
Returns Ok(true) if granted, Ok(false) if denied.
Prefer this over blocking::request_auth from async contexts.