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 Source
impl Sync for Source
impl Unpin for Source
impl UnsafeUnpin for Source
impl UnwindSafe for Source
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