1 2 3 4 5 6 7 8 9 10 11
pub struct Watcher {} impl Watcher { // Spawns a new notify instance that alerts us of changes pub fn new() -> Self { Self {} } /// Subsribe to the watcher pub fn subscribe() {} }
1 2 3 4 5 6 7 8 9 10 11
pub struct Watcher {} impl Watcher { // Spawns a new notify instance that alerts us of changes pub fn new() -> Self { Self {} } /// Subsribe to the watcher pub fn subscribe() {} }