Skip to main content

ValueEnum

Trait ValueEnum 

Source
pub trait ValueEnum {
    // Required method
    fn as_enum_str(&self) -> Result<Cow<'static, str>, PlanError>;
}
Expand description

A trait for enum types that can be rendered as &VariantName in the text format.

Required Methods§

Source

fn as_enum_str(&self) -> Result<Cow<'static, str>, PlanError>

Implementations on Foreign Types§

Source§

impl ValueEnum for AggregationInvocation

Source§

fn as_enum_str(&self) -> Result<Cow<'static, str>, PlanError>

Source§

impl ValueEnum for AggregationPhase

Source§

fn as_enum_str(&self) -> Result<Cow<'static, str>, PlanError>

Source§

impl ValueEnum for JoinType

Source§

fn as_enum_str(&self) -> Result<Cow<'static, str>, PlanError>

Source§

impl ValueEnum for SetOp

Source§

fn as_enum_str(&self) -> Result<Cow<'static, str>, PlanError>

Source§

impl ValueEnum for SortKind

Source§

fn as_enum_str(&self) -> Result<Cow<'static, str>, PlanError>

Implementors§