Type Definition odbc_api::parameter::VarBinarySlice [−][src]
type VarBinarySlice<'a> = VarBinary<&'a [u8]>;
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].
Implementations
impl<'a> VarBinarySlice<'a>[src]
impl<'a> VarBinarySlice<'a>[src]Trait Implementations
impl InputParameter for VarBinarySlice<'_>[src]
impl InputParameter for VarBinarySlice<'_>[src]