pub fn post(
req: &NotificationRequest,
state: &NotificationState,
dnd: bool,
) -> Result<NotifyOutcome, ShellError>Expand description
Post a notification unless the request is empty or Do-Not-Disturb is in effect.
pub fn post(
req: &NotificationRequest,
state: &NotificationState,
dnd: bool,
) -> Result<NotifyOutcome, ShellError>Post a notification unless the request is empty or Do-Not-Disturb is in effect.