pub struct ModifiedWindow {
pub since: Option<i64>,
pub before: Option<i64>,
}Expand description
An inclusive-start, exclusive-end window over modification times, in nanoseconds.
Half-open on purpose: [since, before) composes without double-counting when a caller
walks a tree in windows, and the inclusive start is the safe side for sync — a file
whose mtime equals the watermark re-lists, because duplicates are cheap and omissions
are not.
Fields§
§since: Option<i64>Inclusive lower bound.
before: Option<i64>Exclusive upper bound.
Implementations§
Trait Implementations§
Source§impl Clone for ModifiedWindow
impl Clone for ModifiedWindow
impl Copy for ModifiedWindow
Source§impl Debug for ModifiedWindow
impl Debug for ModifiedWindow
Auto Trait Implementations§
impl Freeze for ModifiedWindow
impl RefUnwindSafe for ModifiedWindow
impl Send for ModifiedWindow
impl Sync for ModifiedWindow
impl Unpin for ModifiedWindow
impl UnsafeUnpin for ModifiedWindow
impl UnwindSafe for ModifiedWindow
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