pub trait FromCqlVal<T>: Sized {
// Required method
fn from_cql(cql_val: T) -> Result<Self, FromCqlValError>;
}
Expand description
This trait defines a way to convert CqlValue or Option<CqlValue>
into some rust type
Required Methods§
fn from_cql(cql_val: T) -> Result<Self, FromCqlValError>
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.