pub struct MachineScope {
pub scope: &'static str,
pub asset_root: String,
pub analyzers: Vec<AnalyzerCoverage>,
pub assets: Vec<AssetStatus>,
}Expand description
The machine-global half of a status document.
Every field here is a property of the host — its asset cache under
crate::asset_root and its PATH — and none of it is a property of any
repository. A ready analyzer means this machine could run it; it says
nothing at all about whether it has been run anywhere, which is the
repository half’s question.
Fields§
§scope: &'static strAlways "machine". Redundant with this section’s name on purpose: a model
that quotes the section alone still carries its scope with it.
asset_root: StringThe pinned-asset cache these digests describe.
analyzers: Vec<AnalyzerCoverage>What each shipped analyzer covers, read off the adapters rather than off a
document, and whether this machine can actually run it — both halves of
that, since they have different remedies (see Readiness).
assets: Vec<AssetStatus>Every pinned asset, its digest, its age, and whether the bytes on disk still match what was recorded.
Trait Implementations§
Source§impl Clone for MachineScope
impl Clone for MachineScope
Source§fn clone(&self) -> MachineScope
fn clone(&self) -> MachineScope
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more