pub enum LiveRefusal {
SpendAcquisitionUnsupported,
HistoricalDecisionId,
InvalidHistoricalLink,
SnapshotIdentity {
stated: SnapshotId,
computed: SnapshotId,
},
InvalidSnapshot(String),
Capture(CaptureConfigError),
Unbounded {
worst_case: u64,
max: u64,
},
Rejected(Rejection),
GenerationFailed(String),
}Expand description
Why a live re-execution was refused or failed. Except for
GenerationFailed, nothing was presented to the authorizer, dispatched
or spent.
Variants§
SpendAcquisitionUnsupported
Source operations need their own authorization and spend identities. This backend-only gated entry point refuses them before admission.
HistoricalDecisionId
The decision id is the historical decision’s.
InvalidHistoricalLink
The historical link names a decision id outside 1 to 256 bytes.
SnapshotIdentity
The snapshot’s computed identity is not the identity stated for it.
InvalidSnapshot(String)
The snapshot has no canonical identity.
Capture(CaptureConfigError)
Unbounded
The plan can propose more attempts than one live document records.
Rejected(Rejection)
The runtime’s own admission refusal (spec 003, 3.4.1).
GenerationFailed(String)
A pure generation invariant failed: no text result and no record. This is a runtime failure, not a request defect.
Trait Implementations§
Source§impl Clone for LiveRefusal
impl Clone for LiveRefusal
Source§impl Debug for LiveRefusal
impl Debug for LiveRefusal
Source§impl Display for LiveRefusal
impl Display for LiveRefusal
impl Eq for LiveRefusal
Source§impl Error for LiveRefusal
impl Error for LiveRefusal
1.30.0 · Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
use the Display impl or to_string()