#[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,
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: 40 bytes