Trait mz_sql::plan::with_options::TryFromValue

source ·
pub trait TryFromValue<T>: Sized {
    // Required methods
    fn try_from_value(v: T) -> Result<Self, PlanError>;
    fn try_into_value(self, catalog: &dyn SessionCatalog) -> Option<T>;
    fn name() -> String;
}

Required Methods§

source

fn try_from_value(v: T) -> Result<Self, PlanError>

source

fn try_into_value(self, catalog: &dyn SessionCatalog) -> Option<T>

source

fn name() -> String

Object Safety§

This trait is not object safe.

Implementations on Foreign Types§

source§

impl TryFromValue<Value> for KafkaSinkCompressionType

source§

impl TryFromValue<Value> for bool

source§

impl TryFromValue<Value> for f64

source§

impl TryFromValue<Value> for i32

source§

impl TryFromValue<Value> for i64

source§

impl TryFromValue<Value> for u16

source§

impl TryFromValue<Value> for u32

source§

impl TryFromValue<Value> for u64

source§

impl TryFromValue<Value> for Interval

source§

impl TryFromValue<Value> for ByteSize

source§

impl TryFromValue<Value> for String

source§

impl TryFromValue<Value> for Duration

source§

impl TryFromValue<WithOptionValue<Aug>> for StringOrSecret

source§

impl TryFromValue<WithOptionValue<Aug>> for Vec<KafkaBroker<Aug>>

source§

impl TryFromValue<WithOptionValue<Aug>> for Vec<NetworkPolicyRuleDefinition<Aug>>

source§

impl TryFromValue<WithOptionValue<Aug>> for Vec<ReplicaDefinition<Aug>>

source§

impl<T: AstInfo, V: TryFromValue<WithOptionValue<T>>> TryFromValue<WithOptionValue<T>> for Option<V>

source§

impl<V: TryFromValue<WithOptionValue<Aug>>> TryFromValue<WithOptionValue<Aug>> for BTreeMap<String, V>

source§

impl<V: TryFromValue<WithOptionValue<Aug>>> TryFromValue<WithOptionValue<Aug>> for Vec<V>

Implementors§