Trait odbc_safe::SqlStr [] [src]

pub unsafe trait SqlStr {
    fn as_text_ptr(&self) -> *const SQLCHAR;
fn text_length(&self) -> SQLSMALLINT;
fn text_length_int(&self) -> SQLINTEGER; }

A type implementing this trait can be passed as a string argument in API calls

Required Methods

Returns a pointer to the start of the string

Returns buffer length or SQL_NTS

Returns buffer length or SQL_NTSL

Implementors