pub struct PhpProfiler;Implementations§
Source§impl PhpProfiler
impl PhpProfiler
pub fn new() -> Self
Sourcepub fn profile_continuous(
&self,
php_file: &str,
) -> Result<ProfileResult, String>
pub fn profile_continuous( &self, php_file: &str, ) -> Result<ProfileResult, String>
Continuous profiling of PHP applications using Xdebug
Sourcepub fn profile_pid(&self, _pid: u32) -> Result<ProfileResult, String>
pub fn profile_pid(&self, _pid: u32) -> Result<ProfileResult, String>
Profile by attaching to PID (not supported for PHP)
Trait Implementations§
Auto Trait Implementations§
impl Freeze for PhpProfiler
impl RefUnwindSafe for PhpProfiler
impl Send for PhpProfiler
impl Sync for PhpProfiler
impl Unpin for PhpProfiler
impl UnwindSafe for PhpProfiler
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