[−][src]Trait odbc_safe::SqlStr
A type implementing this trait can be passed as a string argument in API calls
Required methods
fn as_text_ptr(&self) -> *const SQLCHAR
Returns a pointer to the start of the string
fn text_length(&self) -> SQLSMALLINT
Returns buffer length or SQL_NTS
fn text_length_int(&self) -> SQLINTEGER
Returns buffer length or SQL_NTSL
Implementations on Foreign Types
impl SqlStr for CStr
[src]
fn as_text_ptr(&self) -> *const SQLCHAR
[src]
fn text_length(&self) -> SQLSMALLINT
[src]
fn text_length_int(&self) -> SQLINTEGER
[src]
impl SqlStr for [u8]
[src]
For passing a buffer without terminating NULL
fn as_text_ptr(&self) -> *const SQLCHAR
[src]
fn text_length(&self) -> SQLSMALLINT
[src]
fn text_length_int(&self) -> SQLINTEGER
[src]
impl SqlStr for str
[src]
For passing a buffer without terminating NULL