Struct lmdb_master_sys::MDB_envinfo
source · #[repr(C)]pub struct MDB_envinfo {
pub me_mapaddr: *mut c_void,
pub me_mapsize: mdb_size_t,
pub me_last_pgno: mdb_size_t,
pub me_last_txnid: mdb_size_t,
pub me_maxreaders: c_uint,
pub me_numreaders: c_uint,
}
Expand description
Information about the environment
Fields§
§me_mapaddr: *mut c_void
< Address of map, if fixed
me_mapsize: mdb_size_t
< Size of the data memory map
me_last_pgno: mdb_size_t
< ID of the last used page
me_last_txnid: mdb_size_t
< ID of the last committed transaction
me_maxreaders: c_uint
< max reader slots in the environment
me_numreaders: c_uint
< max reader slots used in the environment
Trait Implementations§
source§impl Clone for MDB_envinfo
impl Clone for MDB_envinfo
source§fn clone(&self) -> MDB_envinfo
fn clone(&self) -> MDB_envinfo
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 MDB_envinfo
impl Debug for MDB_envinfo
impl Copy for MDB_envinfo
Auto Trait Implementations§
impl Freeze for MDB_envinfo
impl RefUnwindSafe for MDB_envinfo
impl !Send for MDB_envinfo
impl !Sync for MDB_envinfo
impl Unpin for MDB_envinfo
impl UnwindSafe for MDB_envinfo
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,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)