pub struct EnvInfo {
pub map_addr: *mut c_void,
pub map_size: usize,
pub last_page_number: usize,
pub last_txn_id: usize,
pub maximum_number_of_readers: u32,
pub number_of_readers: u32,
}
Expand description
Contains information about the environment.
Fields§
§map_addr: *mut c_void
Address of the map, if fixed.
map_size: usize
Size of the data memory map.
last_page_number: usize
ID of the last used page.
last_txn_id: usize
ID of the last committed transaction.
maximum_number_of_readers: u32
Maximum number of reader slots in the environment.
number_of_readers: u32
Number of reader slots used in the environment.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for EnvInfo
impl RefUnwindSafe for EnvInfo
impl !Send for EnvInfo
impl !Sync for EnvInfo
impl Unpin for EnvInfo
impl UnwindSafe for 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