1
2
3
4
pub trait Watcher: Send + Sync {
    fn set_update_callback(&mut self, cb: Box<dyn FnMut() + Send + Sync>);
    fn update(&mut self);
}