Enum test::test_result::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 ==
.impl StructuralPartialEq for TestResult
Auto Trait Implementations§
impl RefUnwindSafe for TestResult
impl Send for TestResult
impl Sync for TestResult
impl Unpin for TestResult
impl UnwindSafe for TestResult
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