pub enum FsStatus {
Stale,
StaleItem(StaleItem),
StaleDependency {
name: InternedString,
dep_mtime: FileTime,
max_mtime: FileTime,
},
StaleDepFingerprint {
name: InternedString,
},
UpToDate {
mtimes: HashMap<PathBuf, FileTime>,
},
}
Expand description
Indication of the status on the filesystem for a particular unit.
Variants§
Stale
This unit is to be considered stale, even if hash information all matches.
StaleItem(StaleItem)
File system inputs have changed (or are missing), or there were
changes to the environment variables that affect this unit. See
the variants of StaleItem
for more information.
StaleDependency
A dependency was stale.
StaleDepFingerprint
A dependency was stale.
Fields
name: InternedString
UpToDate
This unit is up-to-date. All outputs and their corresponding mtime are listed in the payload here for other dependencies to compare against.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for FsStatus
impl RefUnwindSafe for FsStatus
impl Send for FsStatus
impl Sync for FsStatus
impl Unpin for FsStatus
impl UnwindSafe for FsStatus
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit
)§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
§impl<T> Pointable for T
impl<T> Pointable for T
§impl<T> WithSubscriber for T
impl<T> WithSubscriber for T
§fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where
S: Into<Dispatch>,
§fn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Layout§
Note: Most layout information is completely unstable and may even differ between compilations. The only exception is types with certain repr(...)
attributes. Please see the Rust Reference's “Type Layout” chapter for details on type layout guarantees.
Size: 96 bytes
Size for each variant:
Stale
: 0 bytesStaleItem
: 96 bytesStaleDependency
: 56 bytesStaleDepFingerprint
: 24 bytesUpToDate
: 56 bytes