pub trait Monitor {
// Required method
fn display(
&mut self,
client_stats_manager: &mut ClientStatsManager,
event_msg: &str,
sender_id: ClientId,
) -> Result<(), Error>;
}Expand description
The monitor trait keeps track of all the client’s monitor, and offers methods to display them.