pub struct ManualWatchHandle { /* private fields */ }Implementations§
Source§impl ManualWatchHandle
impl ManualWatchHandle
pub fn emit(&self, event: WatchEvent) -> Result<(), WatchError>
pub fn emit_path( &self, kind: WatchEventKind, path: impl Into<PathBuf>, ) -> Result<(), WatchError>
pub fn repo_path(&self) -> &Path
Trait Implementations§
Source§impl Debug for ManualWatchHandle
impl Debug for ManualWatchHandle
Auto Trait Implementations§
impl !Freeze for ManualWatchHandle
impl RefUnwindSafe for ManualWatchHandle
impl Send for ManualWatchHandle
impl Sync for ManualWatchHandle
impl Unpin for ManualWatchHandle
impl UnwindSafe for ManualWatchHandle
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