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
🔬This is a nightly-only experimental API. (
test
)Returns a copy of the value. Read more
source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
🔬This is a nightly-only experimental API. (
test
)Performs copy-assignment from
source
. Read moresource§impl Debug for TestResult
impl Debug for TestResult
source§impl PartialEq for TestResult
impl PartialEq for TestResult
source§fn eq(&self, other: &TestResult) -> bool
fn eq(&self, other: &TestResult) -> bool
🔬This is a nightly-only experimental API. (
test
)Tests for
self
and other
values to be equal, and is used by ==
.impl StructuralPartialEq for TestResult
Auto Trait Implementations§
impl Freeze for TestResult
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
🔬This is a nightly-only experimental API. (
test
)Mutably borrows from an owned value. Read more
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)source§impl<T> ToOwned for Twhere
T: Clone,
impl<T> ToOwned for Twhere
T: Clone,
source§type Owned = T
type Owned = T
🔬This is a nightly-only experimental API. (
test
)The resulting type after obtaining ownership.
source§fn to_owned(&self) -> T
fn to_owned(&self) -> T
🔬This is a nightly-only experimental API. (
test
)Creates owned data from borrowed data, usually by cloning. Read more
source§fn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
🔬This is a nightly-only experimental API. (
test
)Uses borrowed data to replace owned data, usually by cloning. Read more