pub struct DecisionNode { /* private fields */ }Expand description
One deterministic decision node of a compiled plan.
M3 compiles and fingerprints decision nodes; executing them is owned by the durable-flow workstream.
Implementations§
Source§impl DecisionNode
impl DecisionNode
Sourcepub const fn new(
id: NodeId,
revision: DeciderRevision,
input_version: DecisionInputVersion,
) -> Self
pub const fn new( id: NodeId, revision: DeciderRevision, input_version: DecisionInputVersion, ) -> Self
Declares one decision node.
Sourcepub const fn revision(&self) -> &DeciderRevision
pub const fn revision(&self) -> &DeciderRevision
Borrows the application-owned decider revision.
Sourcepub const fn input_version(&self) -> DecisionInputVersion
pub const fn input_version(&self) -> DecisionInputVersion
Returns the durable input-contract version.
Trait Implementations§
Source§impl Clone for DecisionNode
impl Clone for DecisionNode
Source§fn clone(&self) -> DecisionNode
fn clone(&self) -> DecisionNode
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 DecisionNode
impl Debug for DecisionNode
impl Eq for DecisionNode
Source§impl PartialEq for DecisionNode
impl PartialEq for DecisionNode
impl StructuralPartialEq for DecisionNode
Auto Trait Implementations§
impl Freeze for DecisionNode
impl RefUnwindSafe for DecisionNode
impl Send for DecisionNode
impl Sync for DecisionNode
impl Unpin for DecisionNode
impl UnsafeUnpin for DecisionNode
impl UnwindSafe for DecisionNode
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