Type Definition odbc_api::parameter::VarCharBox
source · Expand description
Parameter type for owned, variable sized character 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§
source§impl VarCharBox
impl VarCharBox
sourcepub fn from_string(val: String) -> Self
pub fn from_string(val: String) -> Self
Create an owned parameter containing the character data from the passed string.