#[repr(C)]pub struct __db_log_cursor {Show 17 fields
pub env: *mut ENV,
pub fhp: *mut DB_FH,
pub lsn: DB_LSN,
pub len: u_int32_t,
pub prev: u_int32_t,
pub dbt: DBT,
pub p_lsn: DB_LSN,
pub p_version: u_int32_t,
pub bp: *mut u_int8_t,
pub bp_size: u_int32_t,
pub bp_rlen: u_int32_t,
pub bp_lsn: DB_LSN,
pub bp_maxrec: u_int32_t,
pub close: Option<unsafe extern "C" fn(arg1: *mut DB_LOGC, arg2: u_int32_t) -> c_int>,
pub get: Option<unsafe extern "C" fn(arg1: *mut DB_LOGC, arg2: *mut DB_LSN, arg3: *mut DBT, arg4: u_int32_t) -> c_int>,
pub version: Option<unsafe extern "C" fn(arg1: *mut DB_LOGC, arg2: *mut u_int32_t, arg3: u_int32_t) -> c_int>,
pub flags: u_int32_t,
}
Fields§
§env: *mut ENV
§fhp: *mut DB_FH
§lsn: DB_LSN
§len: u_int32_t
§prev: u_int32_t
§dbt: DBT
§p_lsn: DB_LSN
§p_version: u_int32_t
§bp: *mut u_int8_t
§bp_size: u_int32_t
§bp_rlen: u_int32_t
§bp_lsn: DB_LSN
§bp_maxrec: u_int32_t
§close: Option<unsafe extern "C" fn(arg1: *mut DB_LOGC, arg2: u_int32_t) -> c_int>
§get: Option<unsafe extern "C" fn(arg1: *mut DB_LOGC, arg2: *mut DB_LSN, arg3: *mut DBT, arg4: u_int32_t) -> c_int>
§version: Option<unsafe extern "C" fn(arg1: *mut DB_LOGC, arg2: *mut u_int32_t, arg3: u_int32_t) -> c_int>
§flags: u_int32_t
Trait Implementations§
Source§impl Clone for __db_log_cursor
impl Clone for __db_log_cursor
Source§fn clone(&self) -> __db_log_cursor
fn clone(&self) -> __db_log_cursor
Returns a copy 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 __db_log_cursor
impl Debug for __db_log_cursor
Source§impl Default for __db_log_cursor
impl Default for __db_log_cursor
impl Copy for __db_log_cursor
Auto Trait Implementations§
impl Freeze for __db_log_cursor
impl RefUnwindSafe for __db_log_cursor
impl !Send for __db_log_cursor
impl !Sync for __db_log_cursor
impl Unpin for __db_log_cursor
impl UnwindSafe for __db_log_cursor
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