pub enum LogDirSource {
Override,
MachineRoot,
DevFallback,
}Expand description
Which resolution branch produced a log directory (SPEC §3). Distinguishes the machine root — the
only branch under the #715-locked %ProgramData%\DigNetwork tree, and thus the only one needing an
explicit operator-read ACE — from the caller-owned override and dev-fallback branches.
Variants§
Override
The DIG_LOG_DIR override (a caller-chosen root).
MachineRoot
The per-OS machine root (privileged run) — under the #715-locked root on Windows.
DevFallback
The per-user dev fallback (unprivileged run) — already owned by the running user.
Trait Implementations§
Source§impl Clone for LogDirSource
impl Clone for LogDirSource
Source§fn clone(&self) -> LogDirSource
fn clone(&self) -> LogDirSource
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for LogDirSource
Source§impl Debug for LogDirSource
impl Debug for LogDirSource
impl Eq for LogDirSource
Source§impl PartialEq for LogDirSource
impl PartialEq for LogDirSource
impl StructuralPartialEq for LogDirSource
Auto Trait Implementations§
impl Freeze for LogDirSource
impl RefUnwindSafe for LogDirSource
impl Send for LogDirSource
impl Sync for LogDirSource
impl Unpin for LogDirSource
impl UnsafeUnpin for LogDirSource
impl UnwindSafe for LogDirSource
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.