NotificationHandle

Trait NotificationHandle 

Source
pub trait NotificationHandle
where Self: Send + Sync + Debug,
{ // Required methods fn close(&self) -> Result<(), Error>; fn get_id(&self) -> String; fn get_user_info(&self) -> &HashMap<String, String>; }
Expand description

A Handle to a sent notification

Required Methods§

Source

fn close(&self) -> Result<(), Error>

Close the notification

Source

fn get_id(&self) -> String

Returns the id of the notification

Source

fn get_user_info(&self) -> &HashMap<String, String>

Returns the data stored inside of the notification

Implementors§