pub trait AppPaths: Send + Sync {
// Required methods
fn downloads_dir(&self) -> PathBuf;
fn data_dir(&self) -> PathBuf;
fn cache_dir(&self) -> PathBuf;
fn bin_dir(&self) -> Option<PathBuf>;
}Required Methods§
fn downloads_dir(&self) -> PathBuf
fn data_dir(&self) -> PathBuf
fn cache_dir(&self) -> PathBuf
fn bin_dir(&self) -> Option<PathBuf>
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".