pub enum StepVerdict {
Committed,
AuthDenied,
BudgetPartial {
denied: u32,
},
Skipped {
reason: SkipReason,
},
}Expand description
Outcome of a single step_one pop, recorded on a Step record. Replay
re-reaches the same verdict by re-execution; a mismatch fails fast.
Variants§
Committed
Every Op authorized and the stage committed.
AuthDenied
An Op failed authorization; the whole stage rolled back.
BudgetPartial
Authorized, but per-Op budget/quota gates skipped denied Ops
(partial commit — the committed siblings still applied).
Skipped
The popped action did not run (unregistered type or undeserializable bytes). No state changed.
Fields
§
reason: SkipReasonWhy the action was skipped.
Trait Implementations§
Source§impl Clone for StepVerdict
impl Clone for StepVerdict
Source§fn clone(&self) -> StepVerdict
fn clone(&self) -> StepVerdict
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for StepVerdict
Source§impl Debug for StepVerdict
impl Debug for StepVerdict
Source§impl<'de> Deserialize<'de> for StepVerdict
impl<'de> Deserialize<'de> for StepVerdict
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for StepVerdict
Source§impl PartialEq for StepVerdict
impl PartialEq for StepVerdict
Source§fn eq(&self, other: &StepVerdict) -> bool
fn eq(&self, other: &StepVerdict) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for StepVerdict
impl Serialize for StepVerdict
impl StructuralPartialEq for StepVerdict
Auto Trait Implementations§
impl Freeze for StepVerdict
impl RefUnwindSafe for StepVerdict
impl Send for StepVerdict
impl Sync for StepVerdict
impl Unpin for StepVerdict
impl UnsafeUnpin for StepVerdict
impl UnwindSafe for StepVerdict
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