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