pub struct FSMonitor { /* private fields */ }Implementations§
Source§impl FSMonitor
impl FSMonitor
pub fn new(options: FSMonitorOptions, listener: FSListener) -> Self
pub fn exists(&self, path: Atom) -> bool
pub fn add_monitor(&mut self, options: FSMonitorOptions) -> Result<(), String>
pub fn remove_monitor(&mut self, path: Atom) -> Result<(), String>
pub fn run(&mut self) -> Result<(), String>
pub fn pause(&self, time: usize) -> Result<(), String>
pub fn stop(&self) -> Result<(), String>
Trait Implementations§
Auto Trait Implementations§
impl Freeze for FSMonitor
impl !RefUnwindSafe for FSMonitor
impl Send for FSMonitor
impl !Sync for FSMonitor
impl Unpin for FSMonitor
impl !UnwindSafe for FSMonitor
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more