pub trait StoragePath: Send {
// Required method
fn storage_path(&self) -> PathBuf;
}Available on crate feature
std only.Expand description
Trait for accessing the database directory path.
Required Methods§
Sourcefn storage_path(&self) -> PathBuf
fn storage_path(&self) -> PathBuf
Returns the path to the database directory (e.g. <datadir>/db).