Rust

mode

Module

The names of the modes an application can run in (see Http::set_mode).

Contents

Rust
pub const DEVELOPMENT: &str = "development"

Development mode.

Rust
pub const PRODUCTION: &str = "production"

Production mode.

Rust
pub const STAGE: &str = "stage"

Staging mode.