pub struct EnvInfo {
pub mapaddr: *const c_void,
pub mapsize: usize,
pub last_pgno: usize,
pub last_txnid: usize,
pub maxreaders: u32,
pub numreaders: u32,
}Expand description
Configuration information about an environment.
Fields§
§mapaddr: *const c_voidAddress of map, if fixed
mapsize: usizeSize of the data memory map
last_pgno: usizeID of the last used page
last_txnid: usizeID of the last committed transaction
maxreaders: u32max reader slots in the environment
numreaders: u32max 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,
Source§impl<'a, T> NonSyncFeatures<'a> for Twhere
T: 'a + Clone,
impl<'a, T> NonSyncFeatures<'a> for Twhere
T: 'a + Clone,
Source§fn clone_boxed(&self) -> Box<dyn NonSyncFeatures<'a>>
fn clone_boxed(&self) -> Box<dyn NonSyncFeatures<'a>>
Clone this value, and then immediately put it into a
Box
behind a trait object of this trait.