Struct tower_web::config::Config[][src]

pub struct Config { /* fields omitted */ }

A type of application level configuration.

Methods

impl Config
[src]

Get the configuration value of the specified type.

If a configuration value of type T is stored in Config, it is returned. Otherwise, None is returned.

Trait Implementations

impl Clone for Config
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for Config
[src]

Formats the value using the given formatter. Read more

Auto Trait Implementations

impl Send for Config

impl Sync for Config