reuse_notifications

Trait ReuseNotification

Source
pub trait ReuseNotification {
    // Required methods
    fn reuse(&mut self) -> Result<NotificationHandle>;
    fn reuse_with(&mut self, identifier: &str) -> Result<NotificationHandle>;
}
Expand description

Allows to reuse notifications created via notfy-rust.

Required Methods§

Source

fn reuse(&mut self) -> Result<NotificationHandle>

Source

fn reuse_with(&mut self, identifier: &str) -> Result<NotificationHandle>

Implementations on Foreign Types§

Source§

impl ReuseNotification for Notification

Source§

fn reuse(&mut self) -> Result<NotificationHandle>

Source§

fn reuse_with(&mut self, identifier: &str) -> Result<NotificationHandle>

Implementors§