Struct mhost::app::console::Console[][src]

pub struct Console { /* fields omitted */ }

Implementations

impl Console[src]

pub fn new(opts: ConsoleOpts) -> Console[src]

pub fn print_resolver_opts(
    &self,
    group_opts: &ResolverGroupOpts,
    opts: &ResolverOpts
)
[src]

pub fn print_lookup_estimates(
    &self,
    resolvers: &ResolverGroup,
    query: &MultiQuery
)
[src]

pub fn print_download_estimates(&self, server_list_specs: &[ServerListSpec])[src]

pub fn print_whois_estimates(&self, query: &MultiQuery)[src]

pub fn print_partial_headers(
    &self,
    caption: &str,
    resolvers: &ResolverGroup,
    query: &MultiQuery
)
[src]

pub fn print_partial_results<'a, T>(
    &self,
    output_config: &OutputConfig,
    results: &'a T,
    run_time: Duration
) -> Result<()> where
    T: Serialize + SummaryFormatter + Statistics<'a> + Errors,
    <T as Statistics<'a>>::StatsOut: Display
[src]

Print partial results in case they are not muted and output-type is not JSON

pub fn print_error_counts<E: Errors>(&self, results: &E)[src]

pub fn print_statistics<'a, T: Statistics<'a>>(
    &self,
    data: &'a T,
    total_run_time: Duration
) where
    <T as Statistics<'a>>::StatsOut: Display
[src]

pub fn print_finished(&self)[src]

pub fn emphasize<T: Display>(&self, item: T)[src]

pub fn info<T: AsRef<str>>(&self, str: T)[src]

pub fn attention<T: AsRef<str>>(&self, str: T)[src]

pub fn finished(&self)[src]

pub fn caption<T: AsRef<str>>(&self, str: T)[src]

pub fn failed<T: AsRef<str>>(&self, str: T)[src]

pub fn error<T: AsRef<str>>(&self, str: T)[src]

pub fn ok<T: AsRef<str>>(&self, str: T)[src]

pub fn itemize<T: AsRef<str>>(&self, str: T)[src]

pub fn not_quiet(&self) -> bool[src]

pub fn show_partial_results(&self) -> bool[src]

Check if partial results should be printed * * This is true, partial_results is set, independent of quiet

pub fn show_partial_headers(&self) -> bool[src]

Check if headers and footers for partial steps should be printed * * This is true, if quiet is not set and partial_results is set.

pub fn show_errors(&self) -> bool[src]

Check if detailed error counts should be printed * * This is true, if quiet is not set and show_errors is set.

Trait Implementations

impl Debug for Console[src]

Auto Trait Implementations

impl RefUnwindSafe for Console

impl Send for Console

impl Sync for Console

impl Unpin for Console

impl UnwindSafe for Console

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]