SystemLayout

Trait SystemLayout 

Source
pub trait SystemLayout {
    // Required methods
    fn configs_dir(&self) -> PathBuf;
    fn cache_dir(&self) -> PathBuf;

    // Provided methods
    fn catalog_cache_dir(&self) -> PathBuf { ... }
    fn git_cache_dir(&self) -> PathBuf { ... }
    fn http_cache_dir(&self) -> PathBuf { ... }
    fn answers_config(&self) -> PathBuf { ... }
    fn catalog(&self) -> PathBuf { ... }
}

Required Methods§

Provided Methods§

Trait Implementations§

Source§

impl Display for dyn SystemLayout

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Formats the value using the given formatter. Read more

Implementors§