struct Renderer<'a> {
stdout: BufReader<ChildStdout>,
failures: Vec<TestOutcome>,
benches: Vec<BenchOutcome>,
builder: &'a Builder<'a>,
tests_count: Option<usize>,
executed_tests: usize,
up_to_date_tests: usize,
terse_tests_in_line: usize,
}
Fields§
§stdout: BufReader<ChildStdout>
§failures: Vec<TestOutcome>
§benches: Vec<BenchOutcome>
§builder: &'a Builder<'a>
§tests_count: Option<usize>
§executed_tests: usize
§up_to_date_tests: usize
Number of tests that were skipped due to already being up-to-date (i.e. no relevant changes occurred since they last ran).
terse_tests_in_line: usize
Implementations§
source§impl<'a> Renderer<'a>
impl<'a> Renderer<'a>
fn new(stdout: ChildStdout, builder: &'a Builder<'a>) -> Self
fn render_all(self)
sourcefn stream_all(self)
fn stream_all(self)
Renders the stdout characters one by one
fn render_test_outcome(&mut self, outcome: Outcome<'_>, test: &TestOutcome)
fn render_test_outcome_verbose(&self, outcome: Outcome<'_>, test: &TestOutcome)
fn render_test_outcome_terse( &mut self, outcome: Outcome<'_>, test: &TestOutcome, )
fn render_suite_outcome(&self, outcome: Outcome<'_>, suite: &SuiteOutcome)
fn render_message(&mut self, message: Message)
Auto Trait Implementations§
impl<'a> Freeze for Renderer<'a>
impl<'a> !RefUnwindSafe for Renderer<'a>
impl<'a> !Send for Renderer<'a>
impl<'a> !Sync for Renderer<'a>
impl<'a> Unpin for Renderer<'a>
impl<'a> !UnwindSafe for Renderer<'a>
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> Pointable for T
impl<T> Pointable for T
Layout§
Note: Most layout information is completely unstable and may even differ between compilations. The only exception is types with certain repr(...)
attributes. Please see the Rust Reference's “Type Layout” chapter for details on type layout guarantees.
Size: 144 bytes