Struct finchers_runtime::server::Config
[−]
[src]
pub struct Config { /* fields omitted */ }
A set of configurations used by the runtime.
Methods
impl Config
[src]
pub fn from_env() -> Config
[src]
Create an instance of "Config" from the environment.
pub fn addr(&self) -> SocketAddr
[src]
pub fn mode(&self) -> Mode
[src]
pub fn logger(&self) -> Logger
[src]
Create an instance of "Logger" from the current configuration.
Trait Implementations
impl Debug for Config
[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more