pub trait Bindable {
    fn bind(self, _: &mut Statement) -> Result<()>;
}
Expand description

A type suitable for binding to a prepared statement.

Required Methods§

source

fn bind(self, _: &mut Statement) -> Result<()>

Bind to a parameter.

Implementations on Foreign Types§

source§

impl<T, U> Bindable for (T, U)where
    T: ParameterIndex,
    U: BindableWithIndex,

source§

fn bind(self, statement: &mut Statement) -> Result<()>

source§

impl<T> Bindable for &[T]where
    T: BindableWithIndex + Clone,

source§

fn bind(self, statement: &mut Statement) -> Result<()>

source§

impl<T, U> Bindable for &[(T, U)]where
    T: ParameterIndex,
    U: BindableWithIndex + Clone,

source§

fn bind(self, statement: &mut Statement) -> Result<()>

Implementors§