notify

Function notify 

Source
pub fn notify(
    title: impl Into<Cow<'static, str>>,
    body: impl Into<Cow<'static, str>>,
    timeout: Option<Duration>,
    urgency: Option<Urgency>,
) -> Result<(), Error>
Expand description

Send a stateless Notification across the User Bus. If there is a failure sending the message, it will be sent to the terminal.