Enum atter::RuntimeEnvironment [] [src]

pub enum RuntimeEnvironment {
    Prod,
    Stage,
    Test,
    Dev,
}

The runtime environment.

Variants

Production

Stage

Test

Development

Trait Implementations

impl Clone for RuntimeEnvironment
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Debug for RuntimeEnvironment
[src]

[src]

Formats the value using the given formatter. Read more

impl PartialEq for RuntimeEnvironment
[src]

[src]

This method tests for self and other values to be equal, and is used by ==. Read more

1.0.0
[src]

This method tests for !=.

impl Display for RuntimeEnvironment
[src]

[src]

Formats the value using the given formatter. Read more

impl<'a> TryFrom<&'a str> for RuntimeEnvironment
[src]

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

[src]

🔬 This is a nightly-only experimental API. (try_from)

Performs the conversion.

Auto Trait Implementations