reth_mdbx_sys

Type Alias MDBX_pgvisitor_func

Source
pub type MDBX_pgvisitor_func = Option<unsafe extern "C" fn(pgno: u64, number: c_uint, ctx: *mut c_void, deep: c_int, dbi_name: *const MDBX_val, page_size: usize, type_: MDBX_page_type_t, err: MDBX_error_t, nentries: usize, payload_bytes: usize, header_bytes: usize, unused_bytes: usize) -> c_int>;

Aliased Type§

enum MDBX_pgvisitor_func {
    None,
    Some(unsafe extern "C" fn(_: u64, _: u32, _: *mut c_void, _: i32, _: *const iovec, _: usize, _: u32, _: i32, _: usize, _: usize, _: usize, _: usize) -> i32),
}

Variants§

§1.0.0

None

No value.

§1.0.0

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

Some value of type T.

Layout§

Note: Most layout information is completely unstable and may even differ between compilations. The only exception is types with certain repr(...) attributes. Please see the Rust Reference's “Type Layout” chapter for details on type layout guarantees.

Size: 8 bytes

Size for each variant:

  • None: 0 bytes
  • Some: 8 bytes