pub unsafe trait OdbcType<'a>: Sized {
fn c_data_type() -> SqlCDataType;
fn convert(_: &'a [u8]) -> Self;
fn column_size(&self) -> SQLULEN;
fn value_ptr(&self) -> SQLPOINTER;
fn decimal_digits(&self) -> SQLSMALLINT { ... }
}
Required Methods
Provided Methods
Implementors
impl<'a> OdbcType<'a> for String
impl<'a> OdbcType<'a> for &'a str
impl<'a> OdbcType<'a> for u8
impl<'a> OdbcType<'a> for i8
impl<'a> OdbcType<'a> for i16
impl<'a> OdbcType<'a> for u16
impl<'a> OdbcType<'a> for i32
impl<'a> OdbcType<'a> for u32
impl<'a> OdbcType<'a> for i64
impl<'a> OdbcType<'a> for u64
impl<'a> OdbcType<'a> for f32
impl<'a> OdbcType<'a> for f64