pub struct PlanSummary {
pub total_nodes: usize,
pub cached_nodes: usize,
pub parallel_branches: usize,
}Expand description
Summary of a compiled plan (for event payloads without the full plan).
Fields§
§total_nodes: usizeNumber of nodes in the compiled plan.
cached_nodes: usizeAlways 0 from a compiled plan, and not a placeholder: cache keys are
resolved per node at run time (a node’s key depends on its input’s
content hash), so at RunStarted nothing is yet known about what
will be served from cache. The answer arrives as
Event::NodeCacheHit per node — count those, not this.
parallel_branches: usizeNumber of branches the plan can execute concurrently.
Trait Implementations§
Source§impl Clone for PlanSummary
impl Clone for PlanSummary
Source§fn clone(&self) -> PlanSummary
fn clone(&self) -> PlanSummary
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 PlanSummary
impl Debug for PlanSummary
Source§impl<'de> Deserialize<'de> for PlanSummary
impl<'de> Deserialize<'de> for PlanSummary
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
Auto Trait Implementations§
impl Freeze for PlanSummary
impl RefUnwindSafe for PlanSummary
impl Send for PlanSummary
impl Sync for PlanSummary
impl Unpin for PlanSummary
impl UnsafeUnpin for PlanSummary
impl UnwindSafe for PlanSummary
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