pub struct GoRuntimeCoverage;Implementations§
Source§impl GoRuntimeCoverage
impl GoRuntimeCoverage
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 Go process and collect coverage continuously REQUIRES: Process must be built with -cover flag
Trait Implementations§
Auto Trait Implementations§
impl Freeze for GoRuntimeCoverage
impl RefUnwindSafe for GoRuntimeCoverage
impl Send for GoRuntimeCoverage
impl Sync for GoRuntimeCoverage
impl Unpin for GoRuntimeCoverage
impl UnwindSafe for GoRuntimeCoverage
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