Trait pgrx_pg_sys::AsPgCStr
source · 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 *