pub struct SyndicationdDirs { /* private fields */ }Expand description
Platform-specific application directories for syndicationd.
Implementations§
Source§impl SyndicationdDirs
impl SyndicationdDirs
pub fn current() -> &'static Self
pub fn new() -> Option<Self>
pub fn cache_dir(&self) -> &Path
pub fn config_file(&self) -> PathBuf
pub fn sqlite_db(&self) -> PathBuf
pub fn log_file(&self) -> PathBuf
pub fn runtime_dir(&self) -> Option<&Path>
pub fn runtime_dir_or_temp(&self) -> PathBuf
Trait Implementations§
Auto Trait Implementations§
impl Freeze for SyndicationdDirs
impl RefUnwindSafe for SyndicationdDirs
impl Send for SyndicationdDirs
impl Sync for SyndicationdDirs
impl Unpin for SyndicationdDirs
impl UnsafeUnpin for SyndicationdDirs
impl UnwindSafe for SyndicationdDirs
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