Type Alias MDBX_preserve_func

Source
pub type MDBX_preserve_func = Option<unsafe extern "C" fn(context: *mut c_void, target: *mut MDBX_val, src: *const c_void, bytes: usize) -> c_int>;

Aliased Type§

pub enum MDBX_preserve_func {
    None,
    Some(unsafe extern "C" fn(*mut c_void, *mut iovec, *const c_void, usize) -> i32),
}

Variants§

§1.0.0

None

No value.

§1.0.0

Some(unsafe extern "C" fn(*mut c_void, *mut iovec, *const c_void, usize) -> i32)

Some value of type T.

Layout§

Note: Unable to compute type layout, possibly due to this type having generic parameters. Layout can only be computed for concrete, fully-instantiated types.