Trait cassandra_cpp::BindRustType
source · 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§
sourcefn bind(&mut self, index: usize, value: T) -> Result<&mut Statement>
fn bind(&mut self, index: usize, value: T) -> Result<&mut Statement>
binds a rust type to C* by index
sourcefn bind_by_name(&mut self, col: &str, value: T) -> Result<&mut Statement>
fn bind_by_name(&mut self, col: &str, value: T) -> Result<&mut Statement>
binds a rust type to C* by name