pub struct Progress {
pub added_noc: bool,
pub updated_noc: bool,
pub csr_requested: bool,
pub added_trusted_root: bool,
pub changed_networks: bool,
}Expand description
What has happened inside the current fail-safe period, and therefore what must be undone.
§11.10.7.2’s “Fail Safe Context” lists exactly this state. Each flag decides one of §11.10.7.2.2’s cleanup steps: without them, expiry could not tell a device that merely armed a fail-safe from one that joined a fabric.
Fields§
§added_noc: bool“Whether an AddNOC command … has taken place” — step 7 removes the fabric it added.
updated_noc: boolWhether UpdateNOC has — step 6 reverts that fabric’s credentials.
csr_requested: boolWhether CSRRequest has — step 8 discards the operational key it generated, but only
if no NOC command used it.
added_trusted_root: boolWhether AddTrustedRootCertificate has — step 9 removes roots no fabric references.
changed_networks: boolWhether the Network Commissioning Networks attribute was touched — step 5 restores
it.
Implementations§
Source§impl Progress
impl Progress
Sourcepub const fn orphaned_operational_key(&self) -> bool
pub const fn orphaned_operational_key(&self) -> bool
Whether the operational key from a CSRRequest is now orphaned.
§11.10.7.2.2 step 8: “If the CSRRequest command had been successfully invoked, but no AddNOC or UpdateNOC command had been successfully invoked, then the new operational key pair … SHALL be removed as it is no longer needed.”