pub struct Inherited {
pub path: Option<OsString>,
pub has_locale: bool,
pub has_powershell_telemetry_optout: bool,
pub home_writable: bool,
}Expand description
What the daemon’s own environment holds, as far as the defaults care.
Fields§
§path: Option<OsString>§has_locale: boolWhether LANG or LC_ALL is set.
has_powershell_telemetry_optout: boolWhether POWERSHELL_TELEMETRY_OPTOUT is set to a non-empty value.
home_writable: boolWhether HOME names a directory this process may write.
A Linux boot service runs as root with HOME=/root, which
ProtectSystem=strict makes read-only and ProtectHome=tmpfs empties,
so a job’s ~/.bun, ~/.docker or global npm install has nowhere to go.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Forget for Inherited
impl Freeze for Inherited
impl RefUnwindSafe for Inherited
impl Send for Inherited
impl Sync for Inherited
impl Unpin for Inherited
impl UnsafeUnpin for Inherited
impl UnwindSafe for Inherited
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