Classify a loaded attestation into the `attested` column token.
(attested: &bridge::Attestation)
| 197 | |
| 198 | /// Classify a loaded attestation into the `attested` column token. |
| 199 | fn classify(attested: &bridge::Attestation) -> Attested { |
| 200 | match attested { |
| 201 | bridge::Attestation::Fresh(_) => Attested::Fresh, |
| 202 | bridge::Attestation::Stale(_) => Attested::Stale, |
| 203 | bridge::Attestation::None => Attested::None, |
| 204 | } |
| 205 | } |
| 206 | |
| 207 | /// Compute one intent's row. A read/lift/attestation failure for a SINGLE intent |
| 208 | /// degrades that row's attested/verifies to `–` rather than aborting the whole |