Enum libtest_mimic::Outcome [−][src]
pub enum Outcome { Passed, Failed { msg: Option<String>, }, Ignored, Measured { avg: u64, variance: u64, }, }
The outcome of performing a test.
Variants
Passed
The test passed.
Failed
The test or benchmark failed (either compiler error or panicked).
Fields of Failed
msg: Option<String> | A message that is shown after all tests have been run. |
Ignored
The test or benchmark was ignored.
Measured
The benchmark was successfully run.
Fields of Measured
avg: u64 | Average time in ns. |
variance: u64 | Variance in ns. |
Trait Implementations
impl Debug for Outcome
[src]
impl Debug for Outcome
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl Clone for Outcome
[src]
impl Clone for Outcome
fn clone(&self) -> Outcome
[src]
fn clone(&self) -> Outcome
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0
[src]Performs copy-assignment from source
. Read more
impl PartialEq for Outcome
[src]
impl PartialEq for Outcome
fn eq(&self, other: &Outcome) -> bool
[src]
fn eq(&self, other: &Outcome) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &Outcome) -> bool
[src]
fn ne(&self, other: &Outcome) -> bool
This method tests for !=
.
impl Eq for Outcome
[src]
impl Eq for Outcome