pub struct ScanState {
pub file_mtimes: HashMap<PathBuf, u128>,
pub running: bool,
pub watcher_misses: u32,
}Expand description
State for file scanning.
Fields§
§file_mtimes: HashMap<PathBuf, u128>Last modification time for each tracked file.
running: boolWhether a scan is currently running.
watcher_misses: u32Number of watcher misses detected.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for ScanState
impl RefUnwindSafe for ScanState
impl Send for ScanState
impl Sync for ScanState
impl Unpin for ScanState
impl UnwindSafe for ScanState
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