pub struct Info(/* private fields */);Expand description
Database information.
Contains database information about the map size, readers, last txn id etc.
Implementations§
source§impl Info
impl Info
pub fn geometry(&self) -> GeometryInfo
sourcepub fn last_txnid(&self) -> usize
pub fn last_txnid(&self) -> usize
Last transaction ID
sourcepub fn max_readers(&self) -> usize
pub fn max_readers(&self) -> usize
Max reader slots in the database
sourcepub fn num_readers(&self) -> usize
pub fn num_readers(&self) -> usize
Max reader slots used in the database
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