Classify a loaded attestation into the `attested` column token.
(attested: &bridge::Attestation)
| 316 | |
| 317 | /// Classify a loaded attestation into the `attested` column token. |
| 318 | fn classify(attested: &bridge::Attestation) -> Attested { |
| 319 | match attested { |
| 320 | bridge::Attestation::Fresh(_) => Attested::Fresh, |
| 321 | bridge::Attestation::Stale(_) => Attested::Stale, |
| 322 | bridge::Attestation::None => Attested::None, |
| 323 | } |
| 324 | } |
| 325 | |
| 326 | /// Compute one intent's row. A read/lift/attestation failure for a SINGLE intent |
| 327 | /// degrades that row's attested/verifies to `–` rather than aborting the whole |