pgrx_pg_sys

Type Alias walrcv_receive_fn

Source
pub type walrcv_receive_fn = Option<unsafe extern "C" fn(conn: *mut WalReceiverConn, buffer: *mut *mut c_char, wait_fd: *mut pgsocket) -> c_int>;

Aliased Type§

enum walrcv_receive_fn {
    None,
    Some(unsafe extern "C" fn(_: *mut WalReceiverConn, _: *mut *mut i8, _: *mut i32) -> i32),
}

Variants§

§1.0.0

None

No value.

§1.0.0

Some(unsafe extern "C" fn(_: *mut WalReceiverConn, _: *mut *mut i8, _: *mut i32) -> i32)

Some value of type T.