pub struct Plan(/* private fields */);Implementations§
Source§impl Plan
impl Plan
Sourcepub fn new(nodes: Vec<PlanNode>) -> Result<Self, Error>
pub fn new(nodes: Vec<PlanNode>) -> Result<Self, Error>
One root followed by its descendants in parent-before-child order. Construction validates the complete declaration once; instances still check live identity/name/context and the selected adapter’s limits.
pub fn nodes(&self) -> &[PlanNode]
Sourcepub fn semantic_nodes(&self) -> &[usize]
pub fn semantic_nodes(&self) -> &[usize]
Declaration indices with a Semantics payload, in construction order. Adapters can inspect those immutable facets without visiting every instance. Live overrides still arrive through explicit field patches.
pub fn same(&self, other: &Self) -> bool
pub fn downgrade(&self) -> WeakPlan
pub fn identity(&self) -> usize
Trait Implementations§
impl Eq for Plan
Auto Trait Implementations§
impl !RefUnwindSafe for Plan
impl !Send for Plan
impl !Sync for Plan
impl !UnwindSafe for Plan
impl Freeze for Plan
impl Unpin for Plan
impl UnsafeUnpin for Plan
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