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