[][src]Trait odbc_futures::SqlValue

pub trait SqlValue<T> where
    SqlValueContext: AsMut<T>, 
{ fn clean(&mut self, context: &mut T) -> SqlResult;
fn bind_column(
        &mut self,
        column: &SqlColumn,
        statement: &mut SqlStatement,
        context: &mut T,
        indicator: &mut SQLLEN
    ) -> SqlResult;
fn get_data(
        &mut self,
        column: &SqlColumn,
        statement: &mut SqlStatement,
        context: &mut T,
        indicator: &mut SQLLEN
    ) -> SqlPoll;
fn bind_parameter(
        &mut self,
        parameter_number: SQLUSMALLINT,
        options: SqlBindParameterOptions,
        statement: &SqlStatement,
        context: &mut T,
        indicator: &mut SQLLEN
    ) -> SqlResult;
fn flush_context(
        &mut self,
        context: &mut T,
        indicator: &mut SQLLEN
    ) -> SqlResult; fn flush_optional(&mut self, _indicator: &mut SQLLEN) -> SqlResult { ... } }

Required methods

fn clean(&mut self, context: &mut T) -> SqlResult

fn bind_column(
    &mut self,
    column: &SqlColumn,
    statement: &mut SqlStatement,
    context: &mut T,
    indicator: &mut SQLLEN
) -> SqlResult

fn get_data(
    &mut self,
    column: &SqlColumn,
    statement: &mut SqlStatement,
    context: &mut T,
    indicator: &mut SQLLEN
) -> SqlPoll

fn bind_parameter(
    &mut self,
    parameter_number: SQLUSMALLINT,
    options: SqlBindParameterOptions,
    statement: &SqlStatement,
    context: &mut T,
    indicator: &mut SQLLEN
) -> SqlResult

fn flush_context(
    &mut self,
    context: &mut T,
    indicator: &mut SQLLEN
) -> SqlResult

Loading content...

Provided methods

fn flush_optional(&mut self, _indicator: &mut SQLLEN) -> SqlResult

Loading content...

Implementations on Foreign Types

impl SqlValue<()> for String[src]

fn flush_optional(&mut self, _indicator: &mut SQLLEN) -> SqlResult[src]

impl SqlValue<Vec<u16>> for String[src]

fn flush_optional(&mut self, _indicator: &mut SQLLEN) -> SqlResult[src]

impl SqlValue<Vec<u8>> for CString[src]

fn flush_optional(&mut self, _indicator: &mut SQLLEN) -> SqlResult[src]

impl SqlValue<()> for Vec<u8>[src]

fn flush_optional(&mut self, _indicator: &mut SQLLEN) -> SqlResult[src]

impl SqlValue<()> for Vec<u16>[src]

fn flush_optional(&mut self, _indicator: &mut SQLLEN) -> SqlResult[src]

impl SqlValue<SQL_DATE_STRUCT> for NaiveDate[src]

fn flush_optional(&mut self, _indicator: &mut SQLLEN) -> SqlResult[src]

impl SqlValue<SQL_TIMESTAMP_STRUCT> for NaiveDateTime[src]

fn flush_optional(&mut self, _indicator: &mut SQLLEN) -> SqlResult[src]

impl SqlValue<SQL_SS_TIMESTAMPOFFSET_STRUCT> for DateTime<FixedOffset>[src]

fn flush_optional(&mut self, _indicator: &mut SQLLEN) -> SqlResult[src]

impl SqlValue<SQL_TIME_STRUCT> for NaiveTime[src]

fn flush_optional(&mut self, _indicator: &mut SQLLEN) -> SqlResult[src]

impl SqlValue<SQL_SS_TIME2_STRUCT> for NaiveTime[src]

fn flush_optional(&mut self, _indicator: &mut SQLLEN) -> SqlResult[src]

impl SqlValue<SQLGUID> for Uuid[src]

fn flush_optional(&mut self, _indicator: &mut SQLLEN) -> SqlResult[src]

impl<TValue, TContext> SqlValue<TContext> for Option<TValue> where
    TValue: SqlValue<TContext> + SqlType + SqlDefault,
    SqlValueContext: AsMut<TContext>, 
[src]

Loading content...

Implementors

impl<T: SqlPod> SqlValue<()> for T[src]

fn flush_optional(&mut self, _indicator: &mut SQLLEN) -> SqlResult[src]

Loading content...