[][src]Trait pgx_pg_sys::AsPgCStr

pub trait AsPgCStr {
    fn as_pg_cstr(&self) -> *mut c_char;
}

A trait for converting a thing into a char * that is allocated by Postgres' palloc

Required methods

fn as_pg_cstr(&self) -> *mut c_char

Loading content...

Implementations on Foreign Types

impl<'a> AsPgCStr for &'a str[src]

impl AsPgCStr for String[src]

Loading content...

Implementors

Loading content...