Type Alias odbc_api::parameter::VarBinarySlice
source · pub type VarBinarySlice<'a> = VarBinary<&'a [u8]>;Expand description
Binds a byte array as a variadic binary input parameter.
While a byte array can provide us with a pointer to the start of the array and the length of the
array itself, it can not provide us with a pointer to the length of the buffer. So to bind
byte slices (&[u8]) we need to store the length in a separate value.
This type is created if into_parameter of the IntoParameter trait is called on a &[u8].
Aliased Type§
struct VarBinarySlice<'a> { /* private fields */ }