pub struct PlanFormatter;Expand description
Formatter for rendering execution plans as human-readable strings.
Implementations§
Source§impl PlanFormatter
impl PlanFormatter
Sourcepub fn format_table(plan: &ExecutionPlan) -> String
pub fn format_table(plan: &ExecutionPlan) -> String
Format the plan as a table with columns for step index, operation, output, dependency level, memory, and parallelizability.
Sourcepub fn format_tree(plan: &ExecutionPlan) -> String
pub fn format_tree(plan: &ExecutionPlan) -> String
Format the plan as a level-grouped tree showing parallelism opportunities.
Auto Trait Implementations§
impl Freeze for PlanFormatter
impl RefUnwindSafe for PlanFormatter
impl Send for PlanFormatter
impl Sync for PlanFormatter
impl Unpin for PlanFormatter
impl UnsafeUnpin for PlanFormatter
impl UnwindSafe for PlanFormatter
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> 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