Trait odbc_api::handles::DelayedInput [−][src]
pub unsafe trait DelayedInput { fn cdata_type(&self) -> CDataType; fn indicator_ptr(&self) -> *const isize; fn stream_ptr(&mut self) -> *mut c_void; }
Expand description
Stream which can be bound as in input parameter to a statement in order to provide the actual data at statement execution time, rather than preallocated buffers.
Required methods
fn cdata_type(&self) -> CDataType
fn cdata_type(&self) -> CDataType
Then streaming data to the “data source” the driver converts the data from this type.
fn indicator_ptr(&self) -> *const isize
fn indicator_ptr(&self) -> *const isize
Either odbc_sys::DATA_AT_EXEC
or the result of odbc_sys::len_data_at_exec
.
fn stream_ptr(&mut self) -> *mut c_void
fn stream_ptr(&mut self) -> *mut c_void
Pointer to the stream or an application defined value identifying the stream.