Classify a loaded attestation into the `attested` column token.
(attested: &bridge::Attestation)
| 222 | |
| 223 | /// Classify a loaded attestation into the `attested` column token. |
| 224 | fn classify(attested: &bridge::Attestation) -> Attested { |
| 225 | match attested { |
| 226 | bridge::Attestation::Fresh(_) => Attested::Fresh, |
| 227 | bridge::Attestation::Stale(_) => Attested::Stale, |
| 228 | bridge::Attestation::None => Attested::None, |
| 229 | } |
| 230 | } |
| 231 | |
| 232 | /// Compute one memory's row. A read/lift/attestation failure for a SINGLE memory |
| 233 | /// degrades that row's computed columns to `–`/0 rather than aborting the list. |