Trait pgx_pg_sys::AsPgCStr

source ·
pub trait AsPgCStr {
    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§

Consumes self and converts it into a Postgres-allocated char *

Implementations on Foreign Types§

Implementors§