Struct ExtraHomeDirs
#[non_exhaustive]
pub struct ExtraHomeDirs { pub(in ::os::unix::fs::dirs) runtime: Option<PathBuf>, pub(in ::os::unix::fs::dirs) config_path: Option<OsString>, pub(in ::os::unix::fs::dirs) data_path: Option<OsString> }
Fields
runtime: Option<PathBuf>config_path: Option<OsString>data_path: Option<OsString>
Trait Implementations
impl Clone for ExtraHomeDirs
fn clone(&self) -> Self
impl Debug for ExtraHomeDirs
fn fmt(&self, f: &mut Formatter<'_>) -> Result
impl Default for ExtraHomeDirs
fn default() -> Self
Auto Trait Implementations
impl Freeze for ExtraHomeDirs
impl RefUnwindSafe for ExtraHomeDirs
impl Send for ExtraHomeDirs
impl Sync for ExtraHomeDirs
impl Unpin for ExtraHomeDirs
impl UnsafeUnpin for ExtraHomeDirs
impl UnwindSafe for ExtraHomeDirs
Blanket Implementations
impl<T> Any for ExtraHomeDirs
where
T: 'static + ?Sized,
fn type_id(&self) -> TypeId
impl<T> Borrow<T> for ExtraHomeDirs
where
T: ?Sized,
fn borrow(&self) -> &T
impl<T> BorrowMut<T> for ExtraHomeDirs
where
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
impl<T> CloneToUninit for ExtraHomeDirs
where
T: Clone,
unsafe fn clone_to_uninit(&self, dest: *mut u8)
impl<T> From<T> for ExtraHomeDirs
fn from(t: T) -> TReturns the argument unchanged.
impl<T> SizeHint for ExtraHomeDirs
where
T: ?Sized,
fn lower_bound(&self) -> usizefn upper_bound(&self) -> Option<usize>
impl<T> SizedTypeProperties for ExtraHomeDirs
impl<T> ToOwned for ExtraHomeDirs
where
T: Clone,
type Owned = T;fn to_owned(&self) -> Tfn clone_into(&self, target: &mut T)
impl<T, U> Into<U> for ExtraHomeDirs
where
U: From<T>,
fn into(self) -> UCalls
U::from(self).That is, this conversion is whatever the implementation of
[From]<T> for Uchooses to do.
impl<T, U> TryFrom<U> for ExtraHomeDirs
where
U: Into<T>,
type Error = never;fn try_from(value: U) -> Result<T, never>
impl<T, U> TryInto<U> for ExtraHomeDirs
where
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error;fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>