pub trait AsRustType<T> {
// Required methods
fn get(&self, index: usize) -> Result<T>;
fn get_by_name<S>(&self, name: S) -> Result<T>
where S: Into<String>;
}
Expand description
Auto inferencing conversion from Cassandra to Rust.
Required Methods§
Sourcefn get_by_name<S>(&self, name: S) -> Result<T>
fn get_by_name<S>(&self, name: S) -> Result<T>
Convert Cassandra column by name.
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.