Enum cargo_tarpaulin::statemachine::TestState
source · pub enum TestState {
Start {
start_time: Instant,
},
Initialise,
Waiting {
start_time: Instant,
},
Stopped,
End(i32),
}
Variants§
Start
Start state. Wait for test to appear and track time to enable timeout
Initialise
Initialise: once test process appears instrument
Waiting
Waiting for breakpoint to be hit or test to end
Stopped
Test process stopped, check coverage
End(i32)
Test exited normally. Includes the exit code of the test executable.
Implementations§
Trait Implementations§
impl Copy for TestState
impl Eq for TestState
impl StructuralPartialEq for TestState
Auto Trait Implementations§
impl Freeze for TestState
impl RefUnwindSafe for TestState
impl Send for TestState
impl Sync for TestState
impl Unpin for TestState
impl UnwindSafe for TestState
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
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<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.