[][src]Trait pgx_pg_sys::AsPgCStr

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

pub fn as_pg_cstr(&self) -> *mut c_char[src]

Loading content...

Implementations on Foreign Types

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

impl AsPgCStr for String[src]

Loading content...

Implementors

Loading content...