Struct steward::env::PATH[][src]

pub struct PATH;

Convenience struct for dealing with the PATH environment variable.

Implementations

impl PATH[src]

pub fn get() -> Option<String>[src]

Gets the PATH value from an environment of the current process.

pub fn extend(x: impl ToString) -> String[src]

Extends the PATH value taken the current process and returns the extended value. It doesn’t extend the PATH of the current process.

Auto Trait Implementations

impl RefUnwindSafe for PATH

impl Send for PATH

impl Sync for PATH

impl Unpin for PATH

impl UnwindSafe for PATH

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,