pub struct WatchTargets {
pub paths: Vec<PathBuf>,
pub explicit_files: Vec<PathBuf>,
pub ignore: Vec<PathBuf>,
}Expand description
Inputs that WatcherHandle::retarget replaces on a running watcher.
Fields mean the same as their WatchConfig counterparts.
Fields§
§paths: Vec<PathBuf>Roots to watch recursively. Non-existent entries are skipped until a later retarget finds them.
explicit_files: Vec<PathBuf>Exact files to watch through their parent directories, bypassing
ignore.
ignore: Vec<PathBuf>Subtrees whose events are suppressed.
Auto Trait Implementations§
impl Freeze for WatchTargets
impl RefUnwindSafe for WatchTargets
impl Send for WatchTargets
impl Sync for WatchTargets
impl Unpin for WatchTargets
impl UnsafeUnpin for WatchTargets
impl UnwindSafe for WatchTargets
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