pub fn guard(&self) -> EnvironmentReadRef<'_> {
        EnvironmentReadRef {
            rkv: self.arc.read(),
        }
    }
/// Get a read-only lock on the EnvironmentWrite. The most typical use case is
/// to get a lock in order to create a read-only transaction. The lock guard
/// must outlive the transaction, so it has to be returned here and managed
/// explicitly.
Get a read-only lock on the EnvironmentWrite. The most typical use case is
to get a lock in order to create a read-only transaction. The lock guard
must outlive the transaction, so it has to be returned here and managed
explicitly.
Get a read - only lock on the EnvironmentWrite . The most typical use case is to get a lock in order to create a read - only transaction . The lock guard must outlive the transaction so it has to be returned here and managed explicitly .
pub fn guard(&self) -> EnvironmentReadRef<'_> {
        EnvironmentReadRef {
            rkv: self.arc.read(),
        }
    }
pub fn guard ( & self ) -> EnvironmentReadRef < ' _ > { EnvironmentReadRef { rkv : self . arc . read ( ) , } }
Get a read-only lock on the EnvironmentWrite.
Get a read - only lock on the EnvironmentWrite .
&self
&self