Enum jj_lib::fsmonitor::FsmonitorKind
source · pub enum FsmonitorKind {
Watchman,
Test {
changed_files: Vec<PathBuf>,
},
None,
}
Expand description
The recognized kinds of filesystem monitors.
Variants§
Watchman
The Watchman filesystem monitor (https://facebook.github.io/watchman/).
Test
Only used in tests.
Fields
None
No filesystem monitor. This is the default if nothing is configured, but
also makes it possible to turn off the monitor on a case-by-case basis
when the user gives an option like
--config-toml='core.fsmonitor="none"'
; useful when e.g. when doing
analysis of snapshot performance.
Trait Implementations§
source§impl FromStr for FsmonitorKind
impl FromStr for FsmonitorKind
source§impl PartialEq for FsmonitorKind
impl PartialEq for FsmonitorKind
source§fn eq(&self, other: &FsmonitorKind) -> bool
fn eq(&self, other: &FsmonitorKind) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for FsmonitorKind
impl StructuralPartialEq for FsmonitorKind
Auto Trait Implementations§
impl Freeze for FsmonitorKind
impl RefUnwindSafe for FsmonitorKind
impl Send for FsmonitorKind
impl Sync for FsmonitorKind
impl Unpin for FsmonitorKind
impl UnwindSafe for FsmonitorKind
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