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
pub const fn geometry(&self) -> GeometryInfo
pub const fn mode(&self) -> Mode
Sourcepub const fn last_txnid(&self) -> usize
pub const fn last_txnid(&self) -> usize
Last transaction ID
Sourcepub const fn max_readers(&self) -> usize
pub const fn max_readers(&self) -> usize
Max reader slots in the environment
Sourcepub const fn num_readers(&self) -> usize
pub const fn num_readers(&self) -> usize
Max reader slots used in the environment
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Info
impl<'de> Deserialize<'de> for Info
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
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