NotificationHandler

Trait NotificationHandler 

Source
pub trait NotificationHandler: Source {
    // Required method
    fn handle_notification(&self, notification: String);
}
Expand description

A source that handles notification callbacks.

Notifications can be sent on source setting changes.

Required Methods§

Source

fn handle_notification(&self, notification: String)

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§