Struct notify::windows::ReadDirectoryChangesWatcher
source · pub struct ReadDirectoryChangesWatcher { /* private fields */ }
Expand description
Watcher implementation based on ReadDirectoryChanges
Implementations§
source§impl ReadDirectoryChangesWatcher
impl ReadDirectoryChangesWatcher
pub fn create(
event_handler: Arc<Mutex<dyn EventHandler>>,
meta_tx: Sender<MetaEvent>
) -> Result<ReadDirectoryChangesWatcher>
Trait Implementations§
source§impl Debug for ReadDirectoryChangesWatcher
impl Debug for ReadDirectoryChangesWatcher
source§impl Drop for ReadDirectoryChangesWatcher
impl Drop for ReadDirectoryChangesWatcher
source§impl Watcher for ReadDirectoryChangesWatcher
impl Watcher for ReadDirectoryChangesWatcher
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 with an initial Config.
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