pub enum Source {
LoginShell(PathBuf),
Registry,
Inherited(String),
}Expand description
Where the effective PATH came from, for display and diagnostics.
Variants§
LoginShell(PathBuf)
The login shell at this path printed its PATH.
Registry
The machine and user Path registry values (Windows).
Inherited(String)
The inherited PATH was kept, with the reason.
Implementations§
Trait Implementations§
impl Eq for Source
impl StructuralPartialEq for Source
Auto Trait Implementations§
impl Forget for Source
impl Freeze for Source
impl Move for Source
impl RefUnwindSafe for Source
impl Send for Sourcewhere
RawVecInner: Send,
impl Sync for Sourcewhere
RawVecInner: Sync,
impl Unpin for Source
impl UnsafeUnpin for Source
impl UnwindSafe for Sourcewhere
RawVecInner: UnwindSafe,
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