Struct dataflow_types::Explanation[][src]

pub struct Explanation<'a, Formatter, ViewExpr> where
    Formatter: ViewFormatter<ViewExpr>, 
{ formatter: &'a Formatter, expr_humanizer: &'a dyn ExprHumanizer, sources: Vec<(GlobalId, &'a LinearOperator)>, views: Vec<(GlobalId, &'a ViewExpr)>, finishing: Option<RowSetFinishing>, }
Expand description

An Explanation facilitates pretty-printing of the parts of a DataflowDescription that are relevant to dataflow rendering.

By default, the fmt::Display implementation renders the expression as described in the module docs. Additional information may be attached to the explanation via the other public methods on the type.

Fields

formatter: &'a Formatter

Determines how sources and views are formatted

expr_humanizer: &'a dyn ExprHumanizersources: Vec<(GlobalId, &'a LinearOperator)>

Each source that has some LinearOperator.

views: Vec<(GlobalId, &'a ViewExpr)>

One ViewExplanation per view in the dataflow.

finishing: Option<RowSetFinishing>

An optional RowSetFinishing to mention at the end.

Implementations

Attach a RowSetFinishing to the explanation.

Trait Implementations

Formats the value using the given formatter. Read more

Formats the value using the given formatter. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Formats an object with the “alternative” format ({:#}) and returns it.

Performs the conversion.

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more

Instruments this type with the current Span, returning an Instrumented wrapper. Read more

Performs the conversion.

Should always be Self

Converts the given value to a String. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more

Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more