pgrx_pg_sys

Type Alias MemoryStatsPrintFunc

Source
pub type MemoryStatsPrintFunc = Option<unsafe extern "C" fn(context: MemoryContext, passthru: *mut c_void, stats_string: *const c_char, print_to_stderr: bool)>;

Aliased Type§

enum MemoryStatsPrintFunc {
    None,
    Some(unsafe extern "C" fn(_: *mut MemoryContextData, _: *mut c_void, _: *const i8, _: bool)),
}

Variants§

§1.0.0

None

No value.

§1.0.0

Some(unsafe extern "C" fn(_: *mut MemoryContextData, _: *mut c_void, _: *const i8, _: bool))

Some value of type T.