pub struct DeclineWrite {
pub salvaged: Option<PathBuf>,
pub changed: bool,
}Expand description
What a write to the decline store actually did.
changed is graded off the set, never off the argument. undecline
used to discard BTreeSet::remove’s answer, so a typo’d id wrote the set
back untouched and the caller still announced “slak will be offered
again” and exited 0 — the person believed the way back had been taken,
ran mecha setup, and saw you said no thanks on the step they had just
“restored”, with nothing anywhere saying the two disagreed. A claim about
a local write is worth checking against the write, which is the same rule
[salvage_unreadable] one line up exists for and the same rule the
harness applies to everything a model says about its own work.
Fields§
§salvaged: Option<PathBuf>Where an unreadable store was set aside, when it had to be.
changed: boolWhether the recorded set actually changed.
Trait Implementations§
Source§impl Clone for DeclineWrite
impl Clone for DeclineWrite
Source§fn clone(&self) -> DeclineWrite
fn clone(&self) -> DeclineWrite
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more