Classify a loaded attestation into the `attested` column token.
(attested: &bridge::Attestation)
| 292 | |
| 293 | /// Classify a loaded attestation into the `attested` column token. |
| 294 | fn classify(attested: &bridge::Attestation) -> Attested { |
| 295 | match attested { |
| 296 | bridge::Attestation::Fresh(_) => Attested::Fresh, |
| 297 | bridge::Attestation::Stale(_) => Attested::Stale, |
| 298 | bridge::Attestation::None => Attested::None, |
| 299 | } |
| 300 | } |
| 301 | |
| 302 | /// Compute one memory's row. A read/lift/attestation failure for a SINGLE memory |
| 303 | /// degrades that row's computed columns to `–`/0 rather than aborting the list. |