Struct ns_env_config::config::Config [] [src]

pub struct Config {
    pub fallthrough: Route,
    // some fields omitted
}

Configuration for resolver

This is usually parsed from RUST_NS env variable, but can also be constructed manually for passing default or overriding environment.

Note: Config has infallible FromStr, we will publish a better opt-in interface for checking errors.

Fields

A fallthrough/default/root resolver

Trait Implementations

impl PartialEq for Config
[src]

[src]

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

[src]

This method tests for !=.

impl Debug for Config
[src]

[src]

Formats the value using the given formatter.

impl Default for Config
[src]

[src]

Returns the "default value" for a type. Read more

impl FromStr for Config
[src]

The associated error which can be returned from parsing.

[src]

Parses a string s to return a value of this type. Read more