pub struct TempDirReport {
pub path: String,
pub tmpdir: String,
pub tmp_mapped: bool,
pub mapped_by: Option<&'static str>,
pub not_mapped_because: Option<String>,
}Expand description
The session’s temporary folder, and whether a literal /tmp reaches it —
--explain-scope’s Temporary folder block, session_start.effective_grants.temp_dir and
mur doctor’s section, all from [temp_dir_report]. Field names are the JSON keys.
Fields§
§path: String<home>/.murmur/records/<workdir root>/<session-id>/tmp, with the literal <session-id>
segment the records directory’s path carries.
tmpdir: StringThe value of TMPDIR, TMP and TEMP in every command: /tmp when mapped, Self::path
when not.
tmp_mapped: boolWhether a literal /tmp is the folder.
mapped_by: Option<&'static str>The mechanism that maps it: composed-root on the sealed tier, mount-namespace on the
tiers below it, null when not mapped.
not_mapped_because: Option<String>Why /tmp is not mapped and what a literal /tmp path reaches instead; null when
mapped.
Trait Implementations§
Source§impl Clone for TempDirReport
impl Clone for TempDirReport
Source§impl Debug for TempDirReport
impl Debug for TempDirReport
impl Eq for TempDirReport
Source§impl PartialEq for TempDirReport
impl PartialEq for TempDirReport
Source§impl Serialize for TempDirReport
impl Serialize for TempDirReport
impl StructuralPartialEq for TempDirReport
Auto Trait Implementations§
impl Forget for TempDirReport
impl Freeze for TempDirReport
impl Move for TempDirReport
impl RefUnwindSafe for TempDirReport
impl Send for TempDirReport
impl Sync for TempDirReport
impl Unpin for TempDirReport
impl UnsafeUnpin for TempDirReport
impl UnwindSafe for TempDirReport
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more