pub enum OpenPath {
ColdScan,
WarmRevalidate,
CacheOnly,
}Expand description
Which tier of the freshness ladder an open actually used.
Variants§
ColdScan
No usable snapshot: the tree was walked from scratch.
WarmRevalidate
A snapshot was loaded and reconciled against the filesystem.
CacheOnly
A snapshot answered on its own; the filesystem was never consulted.
The only tier that can be stale, and it says so rather than implying currency.
Trait Implementations§
impl Copy for OpenPath
impl Eq for OpenPath
impl StructuralPartialEq for OpenPath
Auto Trait Implementations§
impl Freeze for OpenPath
impl RefUnwindSafe for OpenPath
impl Send for OpenPath
impl Sync for OpenPath
impl Unpin for OpenPath
impl UnsafeUnpin for OpenPath
impl UnwindSafe for OpenPath
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