Struct forc_test::TestResult
source · pub struct TestResult {
pub name: String,
pub state: ProgramState,
pub duration: Duration,
}Expand description
The result of executing a single test within a single package.
Fields
name: StringThe name of the function.
state: ProgramStateThe resulting state after executing the test function.
duration: DurationThe time taken for the test to execute.
Implementations
sourceimpl TestResult
impl TestResult
Trait Implementations
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
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more