Struct notify::fsevent::FsEventWatcher
source · pub struct FsEventWatcher { /* private fields */ }
Expand description
FSEvents-based Watcher
implementation
Trait Implementations§
source§impl Debug for FsEventWatcher
impl Debug for FsEventWatcher
source§impl Drop for FsEventWatcher
impl Drop for FsEventWatcher
source§impl Watcher for FsEventWatcher
impl Watcher for FsEventWatcher
source§fn new<F: EventHandler>(event_handler: F, _config: Config) -> Result<Self>
fn new<F: EventHandler>(event_handler: F, _config: Config) -> Result<Self>
Create a new watcher.
source§fn watch(&mut self, path: &Path, recursive_mode: RecursiveMode) -> Result<()>
fn watch(&mut self, path: &Path, recursive_mode: RecursiveMode) -> Result<()>
Begin watching a new path. Read more
source§fn configure(&mut self, config: Config) -> Result<bool>
fn configure(&mut self, config: Config) -> Result<bool>
Configure the watcher at runtime. Read more
source§fn kind() -> WatcherKind
fn kind() -> WatcherKind
Returns the watcher kind, allowing to perform backend-specific tasks
impl Send for FsEventWatcher
impl Sync for FsEventWatcher
Auto Trait Implementations§
impl !RefUnwindSafe for FsEventWatcher
impl Unpin for FsEventWatcher
impl !UnwindSafe for FsEventWatcher
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