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_voidAddress of the map, if fixed.
map_size: usizeSize of the data memory map.
last_page_number: usizeID of the last used page.
last_txn_id: usizeID of the last committed transaction.
maximum_number_of_readers: u32Maximum number of reader slots in the environment.
number_of_readers: u32Number of reader slots used in the environment.
Trait Implementations§
Auto Trait Implementations§
impl !Send for EnvInfo
impl !Sync for EnvInfo
impl Freeze for EnvInfo
impl RefUnwindSafe for EnvInfo
impl Unpin for EnvInfo
impl UnsafeUnpin 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