pub enum FloorInputs {
Repo,
Toolchain,
Network,
Machine,
}Expand description
What a command’s verdict depends on BEYOND the repo contents.
network is the honest one: cargo deny’s advisories check consults the
RustSec DB, so the floor is not a pure function of the commit — an unchanged
commit can newly fail when an advisory publishes. The verb discloses that in
its output rather than letting it ambush the next unrelated PR (F69 rider).
machine is the second one, and it has a different cause: a command that
measures wall-clock time answers about the machine as much as about the
commit. bench asserts a latency threshold, so a busy machine fails a commit
that passes quiet — observed as a full floor going RED at 836/1 under
concurrent cargo builds and green at 837/0 on the same tree idle (F76
addendum). Disclosed separately from network because the reasons differ and
a reader who cannot tell them apart learns to skip both.
repo is the Default because it is what an unrecognized value degrades
to (F79, ADR-0007): the most conservative reading, claiming no dependency
the command did not declare, so a typo never adds a command to the network
or machine disclosure and never removes one spelled correctly.
Variants§
Trait Implementations§
Source§impl Clone for FloorInputs
impl Clone for FloorInputs
Source§fn clone(&self) -> FloorInputs
fn clone(&self) -> FloorInputs
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more