pub struct Info(/* private fields */);
Expand description
Environment information.
Contains environment information about the map size, readers, last txn id etc.
Implementations§
Source§impl Info
impl Info
Sourcepub fn last_txnid(&self) -> usize
pub fn last_txnid(&self) -> usize
Last transaction ID
Sourcepub fn max_readers(&self) -> u32
pub fn max_readers(&self) -> u32
Max reader slots in the environment
Sourcepub fn num_readers(&self) -> u32
pub fn num_readers(&self) -> u32
Max reader slots used in the environment
Auto Trait Implementations§
impl Freeze for Info
impl RefUnwindSafe for Info
impl !Send for Info
impl !Sync for Info
impl Unpin for Info
impl UnwindSafe for Info
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