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 Statement
impl BindRustType<f32> for Statement
impl BindRustType<f64> for Statement
impl BindRustType<i32> for Statement
impl BindRustType<i64> for Statement
impl<'a> BindRustType<&'a str> for Statement
impl BindRustType<Set> for Statement
impl BindRustType<Uuid> for Statement
impl BindRustType<Map> for Statement
impl BindRustType<Vec<u8>> for Statement