pub struct OperatorNode {
pub operator: OperatorPlan,
pub target_nodes: Vec<u64>,
pub cost: CostEstimate,
}Expand description
One node in the ExecutionPlan tree. Carries the operator
shape + the executor-targeting metadata.
Fields§
§operator: OperatorPlanThe operator + its operator-specific parameters.
target_nodes: Vec<u64>node_ids that hold the data this operator reads.
Empty for nodes that don’t touch the substrate
directly (e.g. a top-of-tree Project that runs at
the caller). Ordered lexicographically for
determinism.
cost: CostEstimateCost estimate for this operator alone (not the subtree). Phase A populates conservatively; phases B–E refine.
Trait Implementations§
Source§impl Clone for OperatorNode
impl Clone for OperatorNode
Source§fn clone(&self) -> OperatorNode
fn clone(&self) -> OperatorNode
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 OperatorNode
impl Debug for OperatorNode
Source§impl<'de> Deserialize<'de> for OperatorNode
impl<'de> Deserialize<'de> for OperatorNode
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 OperatorNode
impl PartialEq for OperatorNode
Source§fn eq(&self, other: &OperatorNode) -> bool
fn eq(&self, other: &OperatorNode) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for OperatorNode
impl Serialize for OperatorNode
impl StructuralPartialEq for OperatorNode
Auto Trait Implementations§
impl Freeze for OperatorNode
impl RefUnwindSafe for OperatorNode
impl Send for OperatorNode
impl Sync for OperatorNode
impl Unpin for OperatorNode
impl UnsafeUnpin for OperatorNode
impl UnwindSafe for OperatorNode
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