mz_repr::explain::text

Trait DisplayText

Source
pub trait DisplayText<C = ()>
where Self: Sized,
{ // Required method fn fmt_text(&self, f: &mut Formatter<'_>, ctx: &mut C) -> Result; }
Expand description

A trait implemented by explanation types that can be rendered as super::ExplainFormat::Text.

Required Methods§

Source

fn fmt_text(&self, f: &mut Formatter<'_>, ctx: &mut C) -> Result

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementations on Foreign Types§

Source§

impl<A, C> DisplayText<C> for Option<A>
where A: DisplayText<C>,

Source§

fn fmt_text(&self, f: &mut Formatter<'_>, ctx: &mut C) -> Result

Source§

impl<A, C> DisplayText<C> for Box<A>
where A: DisplayText<C>,

Source§

fn fmt_text(&self, f: &mut Formatter<'_>, ctx: &mut C) -> Result

Source§

impl<T> DisplayText for &T
where T: DisplayText,

Source§

fn fmt_text(&self, f: &mut Formatter<'_>, ctx: &mut ()) -> Result

Implementors§

Source§

impl DisplayText for UnsupportedFormat

Source§

impl<'a, C> DisplayText<C> for UsedIndexes
where C: AsMut<Indent> + AsRef<&'a dyn ExprHumanizer>,

impl<'a, T: 'a> DisplayText<PlanRenderingContext<'a, T>> for FastPathPlan

impl<'a, 'h, C, M> DisplayText<C> for HumanizedExpr<'a, ExplainSource<'a>, M>
where C: AsMut<Indent> + AsRef<&'h dyn ExprHumanizer>, M: HumanizerMode,

impl<'a, C, M> DisplayText<C> for HumanizedExpr<'a, PushdownInfo<'a>, M>
where C: AsMut<Indent>, M: HumanizerMode,

impl<'a, C, M> DisplayText<C> for HumanizedExpr<'a, MapFilterProject, M>
where C: AsMut<Indent>, M: HumanizerMode,

impl<'a, C, M> DisplayText<C> for HumanizedExpr<'a, RowSetFinishing, M>
where C: AsMut<Indent>, M: HumanizerMode,

impl<'a, T> DisplayText for ExplainMultiPlan<'a, T>
where T: DisplayText<PlanRenderingContext<'a, T>> + Ord + 'a,

impl<'a, T> DisplayText for ExplainSinglePlan<'a, T>
where T: DisplayText<PlanRenderingContext<'a, T>> + Ord + 'a,