pub struct TypeScriptProfiler {}Implementations§
Source§impl TypeScriptProfiler
impl TypeScriptProfiler
pub fn new() -> Self
pub fn profile_continuous(&self, ts_file: &str) -> Result<ProfileResult, String>
pub fn profile_pid(&self, pid: u32) -> Result<ProfileResult, String>
pub fn profile_to_common_format( &self, ts_file: &str, ) -> Result<CommonProfileData, String>
Trait Implementations§
Auto Trait Implementations§
impl Freeze for TypeScriptProfiler
impl RefUnwindSafe for TypeScriptProfiler
impl Send for TypeScriptProfiler
impl Sync for TypeScriptProfiler
impl Unpin for TypeScriptProfiler
impl UnwindSafe for TypeScriptProfiler
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