Trait cassandra_cpp::BindRustType
[−]
[src]
pub trait BindRustType<T> {
fn bind(&mut self, index: usize, value: T) -> Result<&mut Statement>;
fn bind_by_name(&mut self, col: &str, value: T) -> Result<&mut Statement>;
}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
fn bind(&mut self, index: usize, value: T) -> Result<&mut Statement>
binds a rust type to C* by index
fn bind_by_name(&mut self, col: &str, value: T) -> Result<&mut Statement>
binds a rust type to C* by name
Implementors
impl BindRustType<bool> for Statementimpl BindRustType<f32> for Statementimpl BindRustType<f64> for Statementimpl BindRustType<i32> for Statementimpl BindRustType<i64> for Statementimpl<'a> BindRustType<&'a str> for Statementimpl BindRustType<Set> for Statementimpl BindRustType<Uuid> for Statementimpl BindRustType<Map> for Statementimpl BindRustType<Vec<u8>> for Statement