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

The test passed.

The test or benchmark failed (either compiler error or panicked).

Fields of Failed

A message that is shown after all tests have been run.

The test or benchmark was ignored.

The benchmark was successfully run.

Fields of Measured

Average time in ns.

Variance in ns.

Trait Implementations

impl Debug for Outcome
[src]

Formats the value using the given formatter. Read more

impl Clone for Outcome
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl PartialEq for Outcome
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl Eq for Outcome
[src]

Auto Trait Implementations

impl Send for Outcome

impl Sync for Outcome