use crate::message::Message; pub use std::sync::mpsc; pub trait Monitor { fn new() -> Self where Self: Sized; fn run(&self, sender: &mpsc::Sender); }