1 2 3 4 5
use notification_level::NotificationLevel; pub trait INotifier { fn notify(&self, message: &String, notification_level: &NotificationLevel); }
1 2 3 4 5
use notification_level::NotificationLevel; pub trait INotifier { fn notify(&self, message: &String, notification_level: &NotificationLevel); }