pgrx_pg_sys

Type Alias ResourceReleaseCallback

Source
pub type ResourceReleaseCallback = Option<unsafe extern "C" fn(phase: Type, isCommit: bool, isTopLevel: bool, arg: *mut c_void)>;

Aliased Type§

enum ResourceReleaseCallback {
    None,
    Some(unsafe extern "C" fn(_: u32, _: bool, _: bool, _: *mut c_void)),
}

Variants§

§1.0.0

None

No value.

§1.0.0

Some(unsafe extern "C" fn(_: u32, _: bool, _: bool, _: *mut c_void))

Some value of type T.