[][src]Trait cassandra_cpp::AsRustType

pub trait AsRustType<T> {
    fn get(&self, index: usize) -> Result<T>;
fn get_by_name<S>(&self, name: S) -> Result<T>
    where
        S: Into<String>
; }

Auto inferencing conversion from c* to rust

Required methods

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

convert while reading cassandra columns

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

convert while reading cassandra columns by name

Loading content...

Implementors

impl AsRustType<bool> for Row[src]

impl AsRustType<f32> for Row[src]

impl AsRustType<f64> for Row[src]

impl AsRustType<i16> for Row[src]

impl AsRustType<i32> for Row[src]

impl AsRustType<i64> for Row[src]

impl AsRustType<i8> for Row[src]

impl AsRustType<u32> for Row[src]

impl AsRustType<Inet> for Row[src]

impl AsRustType<MapIterator> for Row[src]

impl AsRustType<SetIterator> for Row[src]

impl AsRustType<UserTypeIterator> for Row[src]

impl AsRustType<Uuid> for Row[src]

impl AsRustType<String> for Row[src]

impl AsRustType<Vec<u8>> for Row[src]

impl AsRustType<Uuid> for Row[src]

Loading content...