pub struct BlobParam<'a> { /* private fields */ }
Expand description
Parameter type which can be used to bind a self::Blob
as parameter to a statement in order
for its contents to be streamed to the database at statement execution time.
Implementations
Trait Implementations
sourceimpl DelayedInput for BlobParam<'_>
impl DelayedInput for BlobParam<'_>
sourcefn cdata_type(&self) -> CDataType
fn cdata_type(&self) -> CDataType
Then streaming data to the “data source” the driver converts the data from this type.
sourcefn indicator_ptr(&self) -> *const isize
fn indicator_ptr(&self) -> *const isize
Either odbc_sys::DATA_AT_EXEC
in case of streaming from a stream of unknown length (e.g.
stdin) or the result of odbc_sys::len_data_at_exec
if the length of the stream is known
in advance (e.g. a File). Read more
sourcefn stream_ptr(&mut self) -> *mut c_void
fn stream_ptr(&mut self) -> *mut c_void
Pointer to reference of crate::parameter::Blob
the stream or an application defined
value identifying the stream. Read more
sourceimpl HasDataType for BlobParam<'_>
impl HasDataType for BlobParam<'_>
Auto Trait Implementations
impl<'a> !RefUnwindSafe for BlobParam<'a>
impl<'a> !Send for BlobParam<'a>
impl<'a> !Sync for BlobParam<'a>
impl<'a> Unpin for BlobParam<'a>
impl<'a> !UnwindSafe for BlobParam<'a>
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more