NotificationChannel

Trait NotificationChannel 

Source
pub trait NotificationChannel: Send + Sync {
    // Required methods
    fn send_notification(&self, alert: &Alert) -> Result<()>;
    fn get_channel_type(&self) -> String;
}
Expand description

Notification channel trait

Required Methods§

Implementors§