Struct cargo_tarpaulin::statemachine::linux::LinuxData
source · [−]pub struct LinuxData<'a> { /* private fields */ }
Expand description
Handle to linux process state
Implementations
Trait Implementations
sourceimpl<'a> StateData for LinuxData<'a>
impl<'a> StateData for LinuxData<'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 LinuxData<'a>
impl<'a> !Send for LinuxData<'a>
impl<'a> !Sync for LinuxData<'a>
impl<'a> Unpin for LinuxData<'a>
impl<'a> !UnwindSafe for LinuxData<'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