pub enum PathSource {
Inherited,
LoginShell,
FallbackDirs,
}Expand description
How the effective PATH was produced — surfaced in logs and (later) the Toolchain modal so PATH problems are diagnosable rather than mysterious.
Variants§
Inherited
The inherited PATH was already sufficient (or we’re on Windows); unchanged.
LoginShell
Augmented from the user’s login shell ($SHELL -lic).
FallbackDirs
Login-shell capture failed; augmented from well-known dirs only.
Implementations§
Trait Implementations§
Source§impl Clone for PathSource
impl Clone for PathSource
Source§fn clone(&self) -> PathSource
fn clone(&self) -> PathSource
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for PathSource
impl Debug for PathSource
Source§impl PartialEq for PathSource
impl PartialEq for PathSource
impl Copy for PathSource
impl Eq for PathSource
impl StructuralPartialEq for PathSource
Auto Trait Implementations§
impl Freeze for PathSource
impl RefUnwindSafe for PathSource
impl Send for PathSource
impl Sync for PathSource
impl Unpin for PathSource
impl UnwindSafe for PathSource
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