pub struct PhpRuntimeCoverage;Implementations§
Source§impl PhpRuntimeCoverage
impl PhpRuntimeCoverage
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 PHP process and collect coverage Note: PHP requires Xdebug/PCOV loaded at startup, so this uses graceful restart
Trait Implementations§
Auto Trait Implementations§
impl Freeze for PhpRuntimeCoverage
impl RefUnwindSafe for PhpRuntimeCoverage
impl Send for PhpRuntimeCoverage
impl Sync for PhpRuntimeCoverage
impl Unpin for PhpRuntimeCoverage
impl UnwindSafe for PhpRuntimeCoverage
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