[][src]Enum envmnt::types::ExpansionType

pub enum ExpansionType {
    UnixPrefix,
    UnixBrackets,
    Unix,
    Windows,
    OS,
    All,
    UnixBracketsWithDefaults,
}

Expansion Type - unix/windows style

Variants

UnixPrefix

Unix prefix environment style, for example: $MY_ENV

UnixBrackets

Unix brackets environment style, for example: ${MY_ENV}

Unix

All unix supported styles

Windows

Windows environment style, for example: %MY_ENV%

OS

Current OS supported styles (Unix/Windows)

All

All supported styles for all platforms (not including custom types such as UnixBracketsWithDefaults

UnixBracketsWithDefaults

Unix brackets like format with default value support ${key:default}

Trait Implementations

impl Clone for ExpansionType[src]

impl Copy for ExpansionType[src]

impl Debug for ExpansionType[src]

impl PartialEq<ExpansionType> for ExpansionType[src]

impl StructuralPartialEq for ExpansionType[src]

Auto Trait Implementations

impl RefUnwindSafe for ExpansionType

impl Send for ExpansionType

impl Sync for ExpansionType

impl Unpin for ExpansionType

impl UnwindSafe for ExpansionType

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> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

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.