pub fn set_database_path(path: PathBuf) -> Result<(), Error>
Set the path to the database.
This function will return an error if the path cannot be set.