Struct mhost::app::console::Console [−][src]
Implementations
impl Console
[src]
pub fn new(opts: ConsoleOpts) -> Console
[src]
pub fn print_resolver_opts(
&self,
group_opts: &ResolverGroupOpts,
opts: &ResolverOpts
)
[src]
&self,
group_opts: &ResolverGroupOpts,
opts: &ResolverOpts
)
pub fn print_lookup_estimates(
&self,
resolvers: &ResolverGroup,
query: &MultiQuery
)
[src]
&self,
resolvers: &ResolverGroup,
query: &MultiQuery
)
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]
&self,
caption: &str,
resolvers: &ResolverGroup,
query: &MultiQuery
)
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]
&self,
output_config: &OutputConfig,
results: &'a T,
run_time: Duration
) -> Result<()> where
T: Serialize + SummaryFormatter + Statistics<'a> + Errors,
<T as Statistics<'a>>::StatsOut: Display,
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]
&self,
data: &'a T,
total_run_time: Duration
) where
<T as Statistics<'a>>::StatsOut: Display,
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
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]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T> Instrument for T
[src]
pub fn instrument(self, span: Span) -> Instrumented<Self>
[src]
pub fn in_current_span(self) -> Instrumented<Self>
[src]
impl<T> Instrument for T
[src]
pub fn instrument(self, span: Span) -> Instrumented<Self>
[src]
pub fn in_current_span(self) -> Instrumented<Self>
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
pub fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
V: MultiLane<T>,
pub fn vzip(self) -> V
impl<T> WithSubscriber for T
[src]
pub fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
[src]
S: Into<Dispatch>,