Struct mhost::app::app_config::AppConfig[][src]

pub struct AppConfig {
    pub list_predefined: bool,
    pub max_concurrent_servers: usize,
    pub use_system_resolv_opt: bool,
    pub retries: usize,
    pub max_concurrent_requests: usize,
    pub timeout: Duration,
    pub expects_multiple_responses: bool,
    pub abort_on_error: bool,
    pub abort_on_timeout: bool,
    pub resolv_conf_path: String,
    pub ndots: u8,
    pub search_domain: Option<String>,
    pub show_errors: bool,
    pub quiet: bool,
    pub ignore_system_nameservers: bool,
    pub no_system_lookups: bool,
    pub nameservers: Option<Vec<String>>,
    pub predefined: bool,
    pub predefined_filter: Option<Vec<String>>,
    pub nameserver_file_path: Option<String>,
    pub limit: usize,
    pub system_nameservers: Option<Vec<String>>,
    pub resolvers_mode: Mode,
    pub output: OutputType,
    pub output_config: OutputConfig,
    // some fields omitted
}

Fields

list_predefined: boolmax_concurrent_servers: usizeuse_system_resolv_opt: boolretries: usizemax_concurrent_requests: usizetimeout: Durationexpects_multiple_responses: boolabort_on_error: boolabort_on_timeout: boolresolv_conf_path: Stringndots: u8search_domain: Option<String>show_errors: boolquiet: boolignore_system_nameservers: boolno_system_lookups: boolnameservers: Option<Vec<String>>predefined: boolpredefined_filter: Option<Vec<String>>nameserver_file_path: Option<String>limit: usizesystem_nameservers: Option<Vec<String>>resolvers_mode: Modeoutput: OutputTypeoutput_config: OutputConfig

Trait Implementations

impl Debug for AppConfig[src]

impl From<&'_ AppConfig> for ConsoleOpts[src]

impl TryFrom<&'_ ArgMatches<'_>> for AppConfig[src]

type Error = Error

The type returned in the event of a conversion error.

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T> Instrument for T[src]

impl<T> Instrument for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>, 

impl<T> WithSubscriber for T[src]