Skip to main content

Notifier

Trait Notifier 

Source
pub trait Notifier {
    // Required method
    fn show(&self, title: &str, body: &str);
}

Required Methods§

Source

fn show(&self, title: &str, body: &str)

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§

Source§

impl Notifier for CapturingNotifier

Source§

impl Notifier for DesktopNotifier

Available on crate feature ui only.