Type Alias pq_sys::cookie_write_function_t

source ·
pub type cookie_write_function_t = Option<unsafe extern "C" fn(__cookie: *mut c_void, __buf: *const c_char, __nbytes: usize) -> __ssize_t>;

Aliased Type§

enum cookie_write_function_t {
    None,
    Some(unsafe extern "C" fn(_: *mut c_void, _: *const i8, _: usize) -> i64),
}

Variants§

§1.0.0

None

No value.

§1.0.0

Some(unsafe extern "C" fn(_: *mut c_void, _: *const i8, _: usize) -> i64)

Some value of type T.