#[repr(C)]pub struct MDBX_chk_callbacks {Show 17 fields
pub check_break: Option<unsafe extern "C" fn(ctx: *mut MDBX_chk_context_t) -> bool>,
pub scope_push: Option<unsafe extern "C" fn(ctx: *mut MDBX_chk_context_t, outer: *mut MDBX_chk_scope_t, inner: *mut MDBX_chk_scope_t, fmt: *const c_char, args: *mut __va_list_tag) -> c_int>,
pub scope_conclude: Option<unsafe extern "C" fn(ctx: *mut MDBX_chk_context_t, outer: *mut MDBX_chk_scope_t, inner: *mut MDBX_chk_scope_t, err: c_int) -> c_int>,
pub scope_pop: Option<unsafe extern "C" fn(ctx: *mut MDBX_chk_context_t, outer: *mut MDBX_chk_scope_t, inner: *mut MDBX_chk_scope_t)>,
pub issue: Option<unsafe extern "C" fn(ctx: *mut MDBX_chk_context_t, object: *const c_char, entry_number: u64, issue: *const c_char, extra_fmt: *const c_char, extra_args: *mut __va_list_tag)>,
pub table_filter: Option<unsafe extern "C" fn(ctx: *mut MDBX_chk_context_t, name: *const MDBX_val, flags: MDBX_db_flags_t) -> *mut MDBX_chk_user_table_cookie_t>,
pub table_conclude: Option<unsafe extern "C" fn(ctx: *mut MDBX_chk_context_t, table: *const MDBX_chk_table_t, cursor: *mut MDBX_cursor, err: c_int) -> c_int>,
pub table_dispose: Option<unsafe extern "C" fn(ctx: *mut MDBX_chk_context_t, table: *const MDBX_chk_table_t)>,
pub table_handle_kv: Option<unsafe extern "C" fn(ctx: *mut MDBX_chk_context_t, table: *const MDBX_chk_table_t, entry_number: usize, key: *const MDBX_val, value: *const MDBX_val) -> c_int>,
pub stage_begin: Option<unsafe extern "C" fn(ctx: *mut MDBX_chk_context_t, arg1: MDBX_chk_stage_t) -> c_int>,
pub stage_end: Option<unsafe extern "C" fn(ctx: *mut MDBX_chk_context_t, arg1: MDBX_chk_stage_t, err: c_int) -> c_int>,
pub print_begin: Option<unsafe extern "C" fn(ctx: *mut MDBX_chk_context_t, severity: MDBX_chk_severity_t) -> *mut MDBX_chk_line_t>,
pub print_flush: Option<unsafe extern "C" fn(arg1: *mut MDBX_chk_line_t)>,
pub print_done: Option<unsafe extern "C" fn(arg1: *mut MDBX_chk_line_t)>,
pub print_chars: Option<unsafe extern "C" fn(arg1: *mut MDBX_chk_line_t, str_: *const c_char, len: usize)>,
pub print_format: Option<unsafe extern "C" fn(arg1: *mut MDBX_chk_line_t, fmt: *const c_char, args: *mut __va_list_tag)>,
pub print_size: Option<unsafe extern "C" fn(arg1: *mut MDBX_chk_line_t, prefix: *const c_char, value: u64, suffix: *const c_char)>,
}
Fields§
§check_break: Option<unsafe extern "C" fn(ctx: *mut MDBX_chk_context_t) -> bool>
§scope_push: Option<unsafe extern "C" fn(ctx: *mut MDBX_chk_context_t, outer: *mut MDBX_chk_scope_t, inner: *mut MDBX_chk_scope_t, fmt: *const c_char, args: *mut __va_list_tag) -> c_int>
§scope_conclude: Option<unsafe extern "C" fn(ctx: *mut MDBX_chk_context_t, outer: *mut MDBX_chk_scope_t, inner: *mut MDBX_chk_scope_t, err: c_int) -> c_int>
§scope_pop: Option<unsafe extern "C" fn(ctx: *mut MDBX_chk_context_t, outer: *mut MDBX_chk_scope_t, inner: *mut MDBX_chk_scope_t)>
§issue: Option<unsafe extern "C" fn(ctx: *mut MDBX_chk_context_t, object: *const c_char, entry_number: u64, issue: *const c_char, extra_fmt: *const c_char, extra_args: *mut __va_list_tag)>
§table_filter: Option<unsafe extern "C" fn(ctx: *mut MDBX_chk_context_t, name: *const MDBX_val, flags: MDBX_db_flags_t) -> *mut MDBX_chk_user_table_cookie_t>
§table_conclude: Option<unsafe extern "C" fn(ctx: *mut MDBX_chk_context_t, table: *const MDBX_chk_table_t, cursor: *mut MDBX_cursor, err: c_int) -> c_int>
§table_dispose: Option<unsafe extern "C" fn(ctx: *mut MDBX_chk_context_t, table: *const MDBX_chk_table_t)>
§table_handle_kv: Option<unsafe extern "C" fn(ctx: *mut MDBX_chk_context_t, table: *const MDBX_chk_table_t, entry_number: usize, key: *const MDBX_val, value: *const MDBX_val) -> c_int>
§stage_begin: Option<unsafe extern "C" fn(ctx: *mut MDBX_chk_context_t, arg1: MDBX_chk_stage_t) -> c_int>
§stage_end: Option<unsafe extern "C" fn(ctx: *mut MDBX_chk_context_t, arg1: MDBX_chk_stage_t, err: c_int) -> c_int>
§print_begin: Option<unsafe extern "C" fn(ctx: *mut MDBX_chk_context_t, severity: MDBX_chk_severity_t) -> *mut MDBX_chk_line_t>
§print_flush: Option<unsafe extern "C" fn(arg1: *mut MDBX_chk_line_t)>
§print_done: Option<unsafe extern "C" fn(arg1: *mut MDBX_chk_line_t)>
§print_chars: Option<unsafe extern "C" fn(arg1: *mut MDBX_chk_line_t, str_: *const c_char, len: usize)>
§print_format: Option<unsafe extern "C" fn(arg1: *mut MDBX_chk_line_t, fmt: *const c_char, args: *mut __va_list_tag)>
§print_size: Option<unsafe extern "C" fn(arg1: *mut MDBX_chk_line_t, prefix: *const c_char, value: u64, suffix: *const c_char)>
Trait Implementations§
Source§impl Clone for MDBX_chk_callbacks
impl Clone for MDBX_chk_callbacks
Source§fn clone(&self) -> MDBX_chk_callbacks
fn clone(&self) -> MDBX_chk_callbacks
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for MDBX_chk_callbacks
impl Debug for MDBX_chk_callbacks
impl Copy for MDBX_chk_callbacks
Auto Trait Implementations§
impl Freeze for MDBX_chk_callbacks
impl RefUnwindSafe for MDBX_chk_callbacks
impl Send for MDBX_chk_callbacks
impl Sync for MDBX_chk_callbacks
impl Unpin for MDBX_chk_callbacks
impl UnwindSafe for MDBX_chk_callbacks
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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: 136 bytes