pub trait NodeVisitor {
// Required method
fn visit(&mut self, node: &PlanNodeEnum) -> bool;
}Expand description
NodeVisitor trait
Used for traversing the planning tree
Required Methods§
Sourcefn visit(&mut self, node: &PlanNodeEnum) -> bool
fn visit(&mut self, node: &PlanNodeEnum) -> bool
Access node
Return true to continue the iteration; return false to stop the iteration.
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".