pub struct PlanStep {
pub operation: Operation,
pub backend: BackendId,
pub guaranteed: Determinism,
pub input: String,
}Expand description
One recorded step: what ran, where, and under what guarantee.
Provenance survives across operations by accumulating these in order. A step records the guarantee the provider actually delivered, not the one the caller asked for, so a plan that ran at a weaker level than requested is visible after the fact rather than indistinguishable from one that did not.
Fields§
§operation: OperationOperation performed.
backend: BackendIdBackend that performed it.
guaranteed: DeterminismDeterminism the backend actually guaranteed for this step.
input: StringStable description of the input family this step consumed.
Implementations§
Trait Implementations§
impl Eq for PlanStep
impl StructuralPartialEq for PlanStep
Auto Trait Implementations§
impl Freeze for PlanStep
impl RefUnwindSafe for PlanStep
impl Send for PlanStep
impl Sync for PlanStep
impl Unpin for PlanStep
impl UnwindSafe for PlanStep
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more