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
A declared source has no unique posture in the gated request.
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)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0:
use the Display impl or to_string()
Source§impl PartialEq for LiveRefusal
impl PartialEq for LiveRefusal
impl StructuralPartialEq for LiveRefusal
Auto Trait Implementations§
impl Freeze for LiveRefusal
impl RefUnwindSafe for LiveRefusal
impl Send for LiveRefusal
impl Sync for LiveRefusal
impl Unpin for LiveRefusal
impl UnsafeUnpin for LiveRefusal
impl UnwindSafe for LiveRefusal
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more