Module substrait_validator::input::proto
source · [−]Expand description
Module for representing Substrait protobuf input.
The structures here are generated using prost, but have a bunch of
extra traits from traits associated with them,
for which the implementations are generated using
substrait_validator_derive. The purpose of these traits is to add basic
introspection capabilities to the prost structures. One of the use cases
for this is to let the parsing code automatically detect when the
validation code ignored a subtree while validating, which implies that the
validator hasn’t checked everything and thus should not warrant that the
received plan is valid.
Modules
Functions
Converts a Rust identifier string generated via stringify!() to the original identifier by “cooking” raw identifiers.
Converts a Rust module path and name (the latter already processed by cook_ident()) to a protobuf type path.