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

type VarBinaryBox = VarBinary<Box<[u8]>>;
Expand description

Parameter type for owned, variable sized binary data.

We use Box<[u8]> rather than Vec<u8> as a buffer type since the indicator pointer already has the role of telling us how many bytes in the buffer are part of the payload.

Implementations

impl VarBinaryBox[src]

pub fn null() -> Self[src]

Constructs a ‘missing’ value.

pub fn from_vec(val: Vec<u8>) -> Self[src]

Create an instance from a Vec.

Trait Implementations