pub struct PlannedStep {
pub root_kind: Option<RootKind>,
pub focus: Option<ExecutionFocus>,
pub observations: Vec<KernelObservation>,
pub disposition: StepDisposition,
}Expand description
One planned transition, as the canonical driver produces it.
The record freezes only this value’s digest (§22.12), so its shape is what a rebuild has to reproduce bit-for-bit. Three fields, each load-bearing:
root_kind— the operation’s immutable root class after this step. Present from the root start onward and never different from the value the start committed;focus— the execution focus after this step. Because it is inside the digest, a focus that moved differently on a replay is aRecordCorruptedrebuild failure rather than a silent divergence;observations— facts produced by this exact transition, published only after commit;disposition— effects or a terminal, never both (§7.12).
Fields§
§root_kind: Option<RootKind>§focus: Option<ExecutionFocus>§observations: Vec<KernelObservation>§disposition: StepDispositionTrait Implementations§
Source§impl Clone for PlannedStep
impl Clone for PlannedStep
Source§fn clone(&self) -> PlannedStep
fn clone(&self) -> PlannedStep
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 moreSource§impl Debug for PlannedStep
impl Debug for PlannedStep
Source§impl<'de> Deserialize<'de> for PlannedStep
impl<'de> Deserialize<'de> for PlannedStep
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
Source§impl PartialEq for PlannedStep
impl PartialEq for PlannedStep
Source§impl Serialize for PlannedStep
impl Serialize for PlannedStep
Source§impl TransitionStep for PlannedStep
impl TransitionStep for PlannedStep
fn disposition(&self) -> &StepDisposition
fn effects(&self) -> &[KernelEffect]
fn terminal(&self) -> Option<&KernelTerminal>
Auto Trait Implementations§
impl Freeze for PlannedStep
impl RefUnwindSafe for PlannedStep
impl Send for PlannedStep
impl Sync for PlannedStep
impl Unpin for PlannedStep
impl UnsafeUnpin for PlannedStep
impl UnwindSafe for PlannedStep
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