#[repr(C)]pub struct MDBX_chk_callbacks {Show 17 fields
pub check_break: Option<unsafe extern "C" fn(*mut MDBX_chk_context) -> bool>,
pub scope_push: Option<unsafe extern "C" fn(*mut MDBX_chk_context, *mut MDBX_chk_scope, *mut MDBX_chk_scope, *const i8, *mut __va_list_tag) -> i32>,
pub scope_conclude: Option<unsafe extern "C" fn(*mut MDBX_chk_context, *mut MDBX_chk_scope, *mut MDBX_chk_scope, i32) -> i32>,
pub scope_pop: Option<unsafe extern "C" fn(*mut MDBX_chk_context, *mut MDBX_chk_scope, *mut MDBX_chk_scope)>,
pub issue: Option<unsafe extern "C" fn(*mut MDBX_chk_context, *const i8, u64, *const i8, *const i8, *mut __va_list_tag)>,
pub table_filter: Option<unsafe extern "C" fn(*mut MDBX_chk_context, *const iovec, u32) -> *mut MDBX_chk_user_table_cookie>,
pub table_conclude: Option<unsafe extern "C" fn(*mut MDBX_chk_context, *const MDBX_chk_table, *mut MDBX_cursor, i32) -> i32>,
pub table_dispose: Option<unsafe extern "C" fn(*mut MDBX_chk_context, *const MDBX_chk_table)>,
pub table_handle_kv: Option<unsafe extern "C" fn(*mut MDBX_chk_context, *const MDBX_chk_table, usize, *const iovec, *const iovec) -> i32>,
pub stage_begin: Option<unsafe extern "C" fn(*mut MDBX_chk_context, u32) -> i32>,
pub stage_end: Option<unsafe extern "C" fn(*mut MDBX_chk_context, u32, i32) -> i32>,
pub print_begin: Option<unsafe extern "C" fn(*mut MDBX_chk_context, u32) -> *mut MDBX_chk_line>,
pub print_flush: Option<unsafe extern "C" fn(*mut MDBX_chk_line)>,
pub print_done: Option<unsafe extern "C" fn(*mut MDBX_chk_line)>,
pub print_chars: Option<unsafe extern "C" fn(*mut MDBX_chk_line, *const i8, usize)>,
pub print_format: Option<unsafe extern "C" fn(*mut MDBX_chk_line, *const i8, *mut __va_list_tag)>,
pub print_size: Option<unsafe extern "C" fn(*mut MDBX_chk_line, *const i8, u64, *const i8)>,
}Available on crate feature
mdbx only.Fields§
§check_break: Option<unsafe extern "C" fn(*mut MDBX_chk_context) -> bool>§scope_push: Option<unsafe extern "C" fn(*mut MDBX_chk_context, *mut MDBX_chk_scope, *mut MDBX_chk_scope, *const i8, *mut __va_list_tag) -> i32>§scope_conclude: Option<unsafe extern "C" fn(*mut MDBX_chk_context, *mut MDBX_chk_scope, *mut MDBX_chk_scope, i32) -> i32>§scope_pop: Option<unsafe extern "C" fn(*mut MDBX_chk_context, *mut MDBX_chk_scope, *mut MDBX_chk_scope)>§issue: Option<unsafe extern "C" fn(*mut MDBX_chk_context, *const i8, u64, *const i8, *const i8, *mut __va_list_tag)>§table_filter: Option<unsafe extern "C" fn(*mut MDBX_chk_context, *const iovec, u32) -> *mut MDBX_chk_user_table_cookie>§table_conclude: Option<unsafe extern "C" fn(*mut MDBX_chk_context, *const MDBX_chk_table, *mut MDBX_cursor, i32) -> i32>§table_dispose: Option<unsafe extern "C" fn(*mut MDBX_chk_context, *const MDBX_chk_table)>§table_handle_kv: Option<unsafe extern "C" fn(*mut MDBX_chk_context, *const MDBX_chk_table, usize, *const iovec, *const iovec) -> i32>§stage_begin: Option<unsafe extern "C" fn(*mut MDBX_chk_context, u32) -> i32>§stage_end: Option<unsafe extern "C" fn(*mut MDBX_chk_context, u32, i32) -> i32>§print_begin: Option<unsafe extern "C" fn(*mut MDBX_chk_context, u32) -> *mut MDBX_chk_line>§print_flush: Option<unsafe extern "C" fn(*mut MDBX_chk_line)>§print_done: Option<unsafe extern "C" fn(*mut MDBX_chk_line)>§print_chars: Option<unsafe extern "C" fn(*mut MDBX_chk_line, *const i8, usize)>§print_format: Option<unsafe extern "C" fn(*mut MDBX_chk_line, *const i8, *mut __va_list_tag)>§print_size: Option<unsafe extern "C" fn(*mut MDBX_chk_line, *const i8, u64, *const i8)>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 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl 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 UnsafeUnpin 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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreimpl<T> MaybeDebug for Twhere
T: Debug,
§impl<T> Pointable for T
impl<T> Pointable for T
impl<T> Read<Exclusive, BecauseExclusive> for Twhere
T: ?Sized,
§impl<T> WithSubscriber for T
impl<T> WithSubscriber for T
§fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> ⓘwhere
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> ⓘwhere
S: Into<Dispatch>,
§fn with_current_subscriber(self) -> WithDispatch<Self> ⓘ
fn with_current_subscriber(self) -> WithDispatch<Self> ⓘ
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