pub fn new(
        env: &LmdbEnvironment,
        maybe_name: Option<&str>,
        flags: DatabaseFlags,
    ) -> Result<Self, error::Error> {
        let name = Self::name(maybe_name);
        let db = env.env().create_db(Some(&name), flags)?;
        Ok(LmdbTrieStore { db })
    }
/// Constructor for new `LmdbTrieStore`.
Constructor for new `LmdbTrieStore`.
Constructor for new ` LmdbTrieStore ` .
pub fn new(
        env: &LmdbEnvironment,
        maybe_name: Option<&str>,
        flags: DatabaseFlags,
    ) -> Result<Self, error::Error> {
        let name = Self::name(maybe_name);
        let db = env.env().create_db(Some(&name), flags)?;
        Ok(LmdbTrieStore { db })
    }
pub fn new ( env : & LmdbEnvironment , maybe_name : Option < & str > , flags : DatabaseFlags , ) -> Result < Self , error :: Error > { let name = Self :: name ( maybe_name ) ; let db = env . env ( ) . create_db ( Some ( & name ) , flags ) ? ; Ok ( LmdbTrieStore { db } ) }
Constructor for new `LmdbTrieStore`.
Constructor for new ` LmdbTrieStore ` .
env
&LmdbEnvironment
maybe_name
Option<&str>
flags
DatabaseFlags
env
&LmdbEnvironment
maybe_name
Option<&str>
flags
DatabaseFlags