pub trait Notifier: Send + Sync {
// Required methods
fn desktop(&self, text: &str) -> bool;
fn webhook(&self, url: &str, body: &[u8]) -> bool;
}Expand description
Desktop and webhook delivery of alerts.
Required Methods§
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".