Type Definition odbc_api::parameter::VarBinaryArray[][src]

type VarBinaryArray<const LENGTH: usize> = VarBinary<[u8; LENGTH]>;
Expand description

A stack allocated VARBINARY type.

Due to its memory layout this type can be bound either as a single parameter, or as a column of a row-by-row output, but not be used in columnar parameter arrays or output buffers.

Implementations

impl<const LENGTH: usize> VarBinaryArray<LENGTH>[src]

pub const NULL: Self[src]

Indicates a missing value.

pub fn new(bytes: &[u8]) -> Self[src]

Construct from a slice. If value is longer than LENGTH it will be truncated.

Trait Implementations

impl<const LENGTH: usize> InputParameter for VarBinaryArray<LENGTH>[src]

impl<const LENGTH: usize> Output for VarBinaryArray<LENGTH>[src]