pub unsafe trait BindParam {
    // Required method
    unsafe fn bind_param_unchecked(
        self,
        stmt: duckdb_prepared_statement,
        param_idx: u64
    ) -> Result<(), &'static str>;
}
Expand description

Values that can bind to prepared statements

Required Methods§

source

unsafe fn bind_param_unchecked( self, stmt: duckdb_prepared_statement, param_idx: u64 ) -> Result<(), &'static str>

Safety

Does not need to check whether the type is correct or whether index is in bounds.

Implementations on Foreign Types§

source§

impl BindParam for &str

source§

unsafe fn bind_param_unchecked( self, stmt: duckdb_prepared_statement, param_idx: u64 ) -> Result<(), &'static str>

source§

impl BindParam for &CStr

source§

unsafe fn bind_param_unchecked( self, stmt: duckdb_prepared_statement, param_idx: u64 ) -> Result<(), &'static str>

source§

impl BindParam for &[u8]

source§

unsafe fn bind_param_unchecked( self, stmt: duckdb_prepared_statement, param_idx: u64 ) -> Result<(), &'static str>

source§

impl BindParam for bool

source§

unsafe fn bind_param_unchecked( self, stmt: duckdb_prepared_statement, param_idx: u64 ) -> Result<(), &'static str>

source§

impl BindParam for f32

source§

unsafe fn bind_param_unchecked( self, stmt: duckdb_prepared_statement, param_idx: u64 ) -> Result<(), &'static str>

source§

impl BindParam for f64

source§

unsafe fn bind_param_unchecked( self, stmt: duckdb_prepared_statement, param_idx: u64 ) -> Result<(), &'static str>

source§

impl BindParam for i8

source§

unsafe fn bind_param_unchecked( self, stmt: duckdb_prepared_statement, param_idx: u64 ) -> Result<(), &'static str>

source§

impl BindParam for i16

source§

unsafe fn bind_param_unchecked( self, stmt: duckdb_prepared_statement, param_idx: u64 ) -> Result<(), &'static str>

source§

impl BindParam for i32

source§

unsafe fn bind_param_unchecked( self, stmt: duckdb_prepared_statement, param_idx: u64 ) -> Result<(), &'static str>

source§

impl BindParam for i64

source§

unsafe fn bind_param_unchecked( self, stmt: duckdb_prepared_statement, param_idx: u64 ) -> Result<(), &'static str>

source§

impl BindParam for i128

source§

unsafe fn bind_param_unchecked( self, stmt: duckdb_prepared_statement, param_idx: u64 ) -> Result<(), &'static str>

source§

impl BindParam for u8

source§

unsafe fn bind_param_unchecked( self, stmt: duckdb_prepared_statement, param_idx: u64 ) -> Result<(), &'static str>

source§

impl BindParam for u16

source§

unsafe fn bind_param_unchecked( self, stmt: duckdb_prepared_statement, param_idx: u64 ) -> Result<(), &'static str>

source§

impl BindParam for u32

source§

unsafe fn bind_param_unchecked( self, stmt: duckdb_prepared_statement, param_idx: u64 ) -> Result<(), &'static str>

source§

impl BindParam for u64

source§

unsafe fn bind_param_unchecked( self, stmt: duckdb_prepared_statement, param_idx: u64 ) -> Result<(), &'static str>

source§

impl BindParam for String

source§

unsafe fn bind_param_unchecked( self, stmt: duckdb_prepared_statement, param_idx: u64 ) -> Result<(), &'static str>

source§

impl BindParam for NaiveDate

source§

unsafe fn bind_param_unchecked( self, stmt: duckdb_prepared_statement, param_idx: u64 ) -> Result<(), &'static str>

source§

impl BindParam for NaiveDateTime

source§

unsafe fn bind_param_unchecked( self, stmt: duckdb_prepared_statement, param_idx: u64 ) -> Result<(), &'static str>

source§

impl BindParam for NaiveTime

source§

unsafe fn bind_param_unchecked( self, stmt: duckdb_prepared_statement, param_idx: u64 ) -> Result<(), &'static str>

source§

impl<T> BindParam for Option<T>where T: BindParam,

Option<T> corresponds to nullable columns

source§

unsafe fn bind_param_unchecked( self, stmt: duckdb_prepared_statement, param_idx: u64 ) -> Result<(), &'static str>

source§

impl<Tz: TimeZone> BindParam for DateTime<Tz>

source§

unsafe fn bind_param_unchecked( self, stmt: duckdb_prepared_statement, param_idx: u64 ) -> Result<(), &'static str>

Implementors§