pub struct SystemPaths { /* private fields */ }Implementations§
Source§impl SystemPaths
impl SystemPaths
pub fn from_profile( paths: &PathsConfig, resolution: PathResolution, ) -> Result<Self, PathError>
pub fn root(&self) -> &Path
pub fn services(&self) -> &Path
pub fn skills(&self) -> &Path
pub fn settings(&self) -> &Path
pub fn content_config(&self) -> &Path
pub fn geoip_database(&self) -> Option<&Path>
pub fn logs(&self) -> PathBuf
pub fn defaults(&self) -> &Path
Trait Implementations§
Source§impl Clone for SystemPaths
impl Clone for SystemPaths
Auto Trait Implementations§
impl Freeze for SystemPaths
impl RefUnwindSafe for SystemPaths
impl Send for SystemPaths
impl Sync for SystemPaths
impl Unpin for SystemPaths
impl UnsafeUnpin for SystemPaths
impl UnwindSafe for SystemPaths
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more