pub trait AsPgCStr {
// Required method
fn as_pg_cstr(self) -> *mut c_char;
}Expand description
A trait for converting a thing into a char * that is allocated by Postgres’ palloc
Required Methods§
Sourcefn as_pg_cstr(self) -> *mut c_char
fn as_pg_cstr(self) -> *mut c_char
Consumes self and converts it into a Postgres-allocated char *