Enum test::test::TestResult
source · pub enum TestResult {
TrOk,
TrFailed,
TrFailedMsg(String),
TrIgnored,
TrBench(BenchSamples),
TrTimedFail,
}
🔬This is a nightly-only experimental API. (
test
)Variants§
TrOk
🔬This is a nightly-only experimental API. (
test
)TrFailed
🔬This is a nightly-only experimental API. (
test
)TrFailedMsg(String)
🔬This is a nightly-only experimental API. (
test
)TrIgnored
🔬This is a nightly-only experimental API. (
test
)TrBench(BenchSamples)
🔬This is a nightly-only experimental API. (
test
)TrTimedFail
🔬This is a nightly-only experimental API. (
test
)Trait Implementations§
source§impl Clone for TestResult
impl Clone for TestResult
source§fn clone(&self) -> TestResult
fn clone(&self) -> TestResult
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for TestResult
impl Debug for TestResult
source§impl PartialEq<TestResult> for TestResult
impl PartialEq<TestResult> for TestResult
source§fn eq(&self, other: &TestResult) -> bool
fn eq(&self, other: &TestResult) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.