Struct comfy_wgpu::notify::NullWatcher
pub struct NullWatcher;Expand description
Stub Watcher implementation
Events are never delivered from this watcher.
Trait Implementations§
§impl Debug for NullWatcher
impl Debug for NullWatcher
§impl Watcher for NullWatcher
impl Watcher for NullWatcher
§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 new<F>(event_handler: F, config: Config) -> Result<NullWatcher, Error>where
F: EventHandler,
NullWatcher: Sized,
fn new<F>(event_handler: F, config: Config) -> Result<NullWatcher, Error>where F: EventHandler, NullWatcher: Sized,
Create a new watcher with an initial Config.
§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 NullWatcher
impl Send for NullWatcher
impl Sync for NullWatcher
impl Unpin for NullWatcher
impl UnwindSafe for NullWatcher
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