Skip to main content

Presenter

Trait Presenter 

Source
pub trait Presenter: Send + Sync {
    // Required methods
    fn show(&self, n: &Notification);
    fn retract(&self, tag: &str);
    fn clear_all(&self);
}
Expand description

A platform notification surface.

Required Methods§

Source

fn show(&self, n: &Notification)

Source

fn retract(&self, tag: &str)

Source

fn clear_all(&self)

Dyn Compatibility§

This trait is dyn compatible.

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

Implementors§