pub fn path(&self) -> &Path {
        match &self.0 {
            StoreType::File(_, p) => p,
            StoreType::Memory(_) => Path::new(IN_MEMORY),
        }
    }
/// Returns the storage path for the backing JSON store.
///
/// In single-file-mode this will be the JSON file location, otherwise it's
///  the directory in which all JSON objects are stored.
Returns the storage path for the backing JSON store.
In single-file-mode this will be the JSON file location, otherwise it's
the directory in which all JSON objects are stored.
Returns the storage path for the backing JSON store . In single - file - mode this will be the JSON file location otherwise it ' s the directory in which all JSON objects are stored .
pub fn path(&self) -> &Path {
        match &self.0 {
            StoreType::File(_, p) => p,
            StoreType::Memory(_) => Path::new(IN_MEMORY),
        }
    }
pub fn path ( & self ) -> & Path { match & self . 0 { StoreType :: File ( _ , p ) => p , StoreType :: Memory ( _ ) => Path :: new ( IN_MEMORY ) , } }
Returns the storage path for the backing JSON store.
Returns the storage path for the backing JSON store .
&self
&self