#[non_exhaustive]pub enum Recovery {
RederiveGate,
ReleaseEvidenceLock,
}Expand description
The operator action that finishes an operation this crate could not finish.
An Error carrying one of these is not merely describing a
failure — it is naming work the caller must still do, and the caller’s own
output surface is responsible for saying so in its own words. See
Host::recovery_instruction.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
RederiveGate
The evidence event was durably appended, but the gate projection beside it was not replaced. The stream is intact and the projection is stale until it is derived again.
ReleaseEvidenceLock
A lock on the evidence store outlived the run that took it, so every command on that store now stops before doing anything.
Releasing it is the operator’s act and not this crate’s: a lock that looks abandoned may belong to a run still working, and taking it would put two writers on one append-only stream. The crate says what it found and who holds it; the operator decides that the holder is gone.