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§

source

fn get(&self, index: usize) -> Result<T>

Convert Cassandra column by index.

source

fn get_by_name<S>(&self, name: S) -> Result<T>
where S: Into<String>,

Convert Cassandra column by name.

Object Safety§

This trait is not object safe.

Implementors§