Enum viz_core::config::Env[][src]

pub enum Env {
    Dev,
    Prod,
    Test,
}

Current Env

Variants

Dev

Development

Prod

Production

Test

Test

Implementations

impl Env[src]

pub const NAME: &'static str[src]

Viz environment name

pub const DEV: &'static str[src]

Development mode

pub const PROD: &'static str[src]

Production mode

pub const TEST: &'static str[src]

Test mode

pub fn get() -> Env[src]

Gets current mode

Trait Implementations

impl Debug for Env[src]

impl Default for Env[src]

impl<'de> Deserialize<'de> for Env[src]

impl From<String> for Env[src]

impl Serialize for Env[src]

impl ToString for Env[src]

Auto Trait Implementations

impl RefUnwindSafe for Env

impl Send for Env

impl Sync for Env

impl Unpin for Env

impl UnwindSafe for Env

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> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

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

impl<T> Instrument for T[src]

impl<T> Instrument for T[src]

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

impl<T> Same<T> for T

type Output = T

Should always be Self

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>,