pub trait BindRustType<T> {
    // Required methods
    fn bind(&mut self, index: usize, value: T) -> Result<&mut Statement>;
    fn bind_by_name(&mut self, col: &str, value: T) -> Result<&mut Statement>;
}
Expand description

All Rust types that can be bound to a cassandra statement //FIXME not yet implemented Any rust type that can have a default bind implementation

Required Methods§

source

fn bind(&mut self, index: usize, value: T) -> Result<&mut Statement>

binds a rust type to C* by index

source

fn bind_by_name(&mut self, col: &str, value: T) -> Result<&mut Statement>

binds a rust type to C* by name

Implementors§