[][src]Trait sibyl::ToSqlOut

pub trait ToSqlOut {
    fn to_sql_output(&mut self, col_size: usize) -> (u16, *mut c_void, usize);

    fn set_len(&mut self, _new_len: usize) { ... }
}

A trait for types that can be used as SQL OUT arguments

Required methods

fn to_sql_output(&mut self, col_size: usize) -> (u16, *mut c_void, usize)

Returns output buffer characteristics as a tuple of (SQLT type, buffer pointer, buffer size)

Loading content...

Provided methods

fn set_len(&mut self, _new_len: usize)

Called to set the received data length (always less than the initial capacity)

Loading content...

Implementations on Foreign Types

impl ToSqlOut for *mut OCIRaw[src]

fn set_len(&mut self, _new_len: usize)[src]

impl ToSqlOut for Box<OCINumber>[src]

fn set_len(&mut self, _new_len: usize)[src]

impl ToSqlOut for *mut OCIString[src]

fn set_len(&mut self, _new_len: usize)[src]

impl<T: ToSqlOut + ?Sized, '_> ToSqlOut for &'_ mut T[src]

impl ToSqlOut for i8[src]

fn set_len(&mut self, _new_len: usize)[src]

impl ToSqlOut for i16[src]

fn set_len(&mut self, _new_len: usize)[src]

impl ToSqlOut for i32[src]

fn set_len(&mut self, _new_len: usize)[src]

impl ToSqlOut for i64[src]

fn set_len(&mut self, _new_len: usize)[src]

impl ToSqlOut for isize[src]

fn set_len(&mut self, _new_len: usize)[src]

impl ToSqlOut for u8[src]

fn set_len(&mut self, _new_len: usize)[src]

impl ToSqlOut for u16[src]

fn set_len(&mut self, _new_len: usize)[src]

impl ToSqlOut for u32[src]

fn set_len(&mut self, _new_len: usize)[src]

impl ToSqlOut for u64[src]

fn set_len(&mut self, _new_len: usize)[src]

impl ToSqlOut for usize[src]

fn set_len(&mut self, _new_len: usize)[src]

impl ToSqlOut for f32[src]

fn set_len(&mut self, _new_len: usize)[src]

impl ToSqlOut for f64[src]

fn set_len(&mut self, _new_len: usize)[src]

impl ToSqlOut for String[src]

impl ToSqlOut for Vec<u8>[src]

Loading content...

Implementors

impl ToSqlOut for RowID[src]

fn set_len(&mut self, _new_len: usize)[src]

impl<'_> ToSqlOut for Cursor<'_>[src]

fn set_len(&mut self, _new_len: usize)[src]

impl<'_> ToSqlOut for Date<'_>[src]

fn set_len(&mut self, _new_len: usize)[src]

impl<'_> ToSqlOut for Number<'_>[src]

fn set_len(&mut self, _new_len: usize)[src]

impl<'_> ToSqlOut for Raw<'_>[src]

fn set_len(&mut self, _new_len: usize)[src]

impl<'_> ToSqlOut for Varchar<'_>[src]

fn set_len(&mut self, _new_len: usize)[src]

Loading content...