Skip to main content

StoragePath

Trait StoragePath 

Source
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§

Source

fn storage_path(&self) -> PathBuf

Returns the path to the database directory (e.g. <datadir>/db).

Implementors§