pub fn open(env: &LmdbEnvironment, maybe_name: Option<&str>) -> Result<Self, error::Error> {
        let name = Self::name(maybe_name);
        let db = env.env().open_db(Some(&name))?;
        Ok(LmdbTrieStore { db })
    }
/// Constructor for `LmdbTrieStore` which opens an existing lmdb store file.
Constructor for `LmdbTrieStore` which opens an existing lmdb store file.
Constructor for ` LmdbTrieStore ` which opens an existing lmdb store file .
pub fn open(env: &LmdbEnvironment, maybe_name: Option<&str>) -> Result<Self, error::Error> {
        let name = Self::name(maybe_name);
        let db = env.env().open_db(Some(&name))?;
        Ok(LmdbTrieStore { db })
    }
pub fn open ( env : & LmdbEnvironment , maybe_name : Option < & str > ) -> Result < Self , error :: Error > { let name = Self :: name ( maybe_name ) ; let db = env . env ( ) . open_db ( Some ( & name ) ) ? ; Ok ( LmdbTrieStore { db } ) }
Constructor for `LmdbTrieStore` which opens an existing lmdb store file.
Constructor for ` LmdbTrieStore ` which opens an existing lmdb store file .
env
&LmdbEnvironment
maybe_name
Option<&str>
env
&LmdbEnvironment
maybe_name
Option<&str>