pub trait ThreadListener {
// Required methods
fn thread_started(&self, thread_name: &str);
fn thread_stopped(&self, thread_name: &str);
}pub trait ThreadListener {
// Required methods
fn thread_started(&self, thread_name: &str);
fn thread_stopped(&self, thread_name: &str);
}