pub struct RustRuntimeCoverage;Implementations§
Source§impl RustRuntimeCoverage
impl RustRuntimeCoverage
pub fn new() -> Self
Sourcepub fn attach_and_collect(
&self,
pid: u32,
) -> Result<RuntimeCoverageResult, String>
pub fn attach_and_collect( &self, pid: u32, ) -> Result<RuntimeCoverageResult, String>
Attach to a running Rust process and collect coverage continuously REQUIRES: Process must be built with LLVM coverage instrumentation
Trait Implementations§
Auto Trait Implementations§
impl Freeze for RustRuntimeCoverage
impl RefUnwindSafe for RustRuntimeCoverage
impl Send for RustRuntimeCoverage
impl Sync for RustRuntimeCoverage
impl Unpin for RustRuntimeCoverage
impl UnwindSafe for RustRuntimeCoverage
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