pub enum AtomicOpPlan {
Canonical(Box<CanonicalMutationPlan>),
AddEntity(AddEntityPlan),
FinalizeEntity(Box<EntityFinalizationPlan>),
AddNote(Box<AddNotePlan>),
Update(Box<UpdatePlan>),
Delete(DeletePlan),
Link(LinkPlan),
Merge(MergePlan),
GtdTransition(GtdTransitionPlan),
GtdComplete(GtdCompletePlan),
Governance(GovernancePlan),
}Expand description
One admissible op’s prepared write plan (ADR-099 D3’s v1 admissible verb
groups), ready for the commit pass. This is the Vec<AtomicOpPlan> shape
run_atomic_unit consumes — the runner is agnostic to which verb
produced a given plan; it only needs each plan’s ordered statements
(plan_statements) and any deferred post-commit effect
(post_commit_effect).
Variants§
Canonical(Box<CanonicalMutationPlan>)
An admitted canonical operation materialized using the applying writer.
AddEntity(AddEntityPlan)
FinalizeEntity(Box<EntityFinalizationPlan>)
AddNote(Box<AddNotePlan>)
Update(Box<UpdatePlan>)
Delete(DeletePlan)
Link(LinkPlan)
Merge(MergePlan)
GtdTransition(GtdTransitionPlan)
GtdComplete(GtdCompletePlan)
Governance(GovernancePlan)
Trait Implementations§
Source§impl Clone for AtomicOpPlan
impl Clone for AtomicOpPlan
Auto Trait Implementations§
impl !RefUnwindSafe for AtomicOpPlan
impl !UnwindSafe for AtomicOpPlan
impl Forget for AtomicOpPlan
impl Freeze for AtomicOpPlanwhere
*const CanonicalMutationPlan is !null: Freeze,
PhantomData<CanonicalMutationPlan>: Freeze,
*const u8 is !null: Freeze,
PhantomData<PlanStatement>: Freeze,
PhantomData<u8>: Freeze,
*const EntityFinalizationPlan is !null: Freeze,
PhantomData<EntityFinalizationPlan>: Freeze,
*const AddNotePlan is !null: Freeze,
PhantomData<AddNotePlan>: Freeze,
*const UpdatePlan is !null: Freeze,
PhantomData<UpdatePlan>: Freeze,
PhantomData<PlanPredicate>: Freeze,
impl Move for AtomicOpPlan
impl Send for AtomicOpPlan
impl Sync for AtomicOpPlan
impl Unpin for AtomicOpPlan
impl UnsafeUnpin for AtomicOpPlanwhere
*const CanonicalMutationPlan is !null: UnsafeUnpin,
PhantomData<CanonicalMutationPlan>: UnsafeUnpin,
*const u8 is !null: UnsafeUnpin,
PhantomData<PlanStatement>: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
*const EntityFinalizationPlan is !null: UnsafeUnpin,
PhantomData<EntityFinalizationPlan>: UnsafeUnpin,
*const AddNotePlan is !null: UnsafeUnpin,
PhantomData<AddNotePlan>: UnsafeUnpin,
*const UpdatePlan is !null: UnsafeUnpin,
PhantomData<UpdatePlan>: UnsafeUnpin,
PhantomData<PlanPredicate>: UnsafeUnpin,
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
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