Trait AsRustType

Source
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 c* to rust

Required Methods§

Source

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

convert while reading cassandra columns

Source

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

convert while reading cassandra columns 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.

Implementors§