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,
) -> DecisionNode
pub const fn new( id: NodeId, revision: DeciderRevision, input_version: DecisionInputVersion, ) -> DecisionNode
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
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