Trait sqlite::Bindable

source ·
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§