pub struct LlvmInstrumentedData<'a> { /* private fields */ }
Expand description
Handle to the process for an instrumented binary. This will simply
Trait Implementations
sourceimpl<'a> StateData for LlvmInstrumentedData<'a>
impl<'a> StateData for LlvmInstrumentedData<'a>
sourcefn start(&mut self) -> Result<Option<TestState>, RunError>
fn start(&mut self) -> Result<Option<TestState>, RunError>
Starts the tracing. Returns None while waiting for start. Statemachine then checks timeout Read more
sourcefn init(&mut self) -> Result<TestState, RunError>
fn init(&mut self) -> Result<TestState, RunError>
Initialises test for tracing returns next state
sourcefn last_wait_attempt(&mut self) -> Result<Option<TestState>, RunError>
fn last_wait_attempt(&mut self) -> Result<Option<TestState>, RunError>
This is here for the times when we’re about to mark the attempted coverage collection as a failure i.e. timeout, but there’s an alternative to that which can see if we’re actually in a “finished” state but are still waiting on resource cleanup so we don’t lose the results. Read more
Auto Trait Implementations
impl<'a> !RefUnwindSafe for LlvmInstrumentedData<'a>
impl<'a> !Send for LlvmInstrumentedData<'a>
impl<'a> !Sync for LlvmInstrumentedData<'a>
impl<'a> Unpin for LlvmInstrumentedData<'a>
impl<'a> !UnwindSafe for LlvmInstrumentedData<'a>
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
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
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more