pub struct WatchPath {
pub path: PathBuf,
pub recursive: bool,
}Expand description
Path subscription registered by a FileWatcherSubscriber.
Fields§
§path: PathBufRoot path to watch.
recursive: boolWhether events below path should match recursively.
Trait Implementations§
impl Eq for WatchPath
impl StructuralPartialEq for WatchPath
Auto Trait Implementations§
impl Freeze for WatchPath
impl RefUnwindSafe for WatchPath
impl Send for WatchPath
impl Sync for WatchPath
impl Unpin for WatchPath
impl UnsafeUnpin for WatchPath
impl UnwindSafe for WatchPath
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