pub fn new(path: &path::Path) -> Result<Self> {
        sled::open(path)
            .map_err(ForcepError::MetaDb)
            .map(|db| Self { db })
    }
/// Initializes a new metadata database with sled.
Initializes a new metadata database with sled.
Initializes a new metadata database with sled .
pub fn new(path: &path::Path) -> Result<Self> {
        sled::open(path)
            .map_err(ForcepError::MetaDb)
            .map(|db| Self { db })
    }
pub fn new ( path : & path :: Path ) -> Result < Self > { sled :: open ( path ) . map_err ( ForcepError :: MetaDb ) . map ( | db | Self { db } ) }
Initializes a new metadata database with sled.
Initializes a new metadata database with sled .
path
&path::Path
path
&path::Path