Struct stak_profiler::StackProfiler
source · pub struct StackProfiler<T: Write> { /* private fields */ }Expand description
A stack profiler.
Implementations§
Trait Implementations§
source§impl<T: Write> Profiler for StackProfiler<T>
impl<T: Write> Profiler for StackProfiler<T>
source§fn profile_call(&mut self, memory: &Memory<'_>, call_code: Cons, return: bool)
fn profile_call(&mut self, memory: &Memory<'_>, call_code: Cons, return: bool)
Profiles a call.
source§fn profile_return(&mut self, memory: &Memory<'_>)
fn profile_return(&mut self, memory: &Memory<'_>)
Profiles a return.
Auto Trait Implementations§
impl<T> Freeze for StackProfiler<T>where
T: Freeze,
impl<T> RefUnwindSafe for StackProfiler<T>where
T: RefUnwindSafe,
impl<T> Send for StackProfiler<T>where
T: Send,
impl<T> Sync for StackProfiler<T>where
T: Sync,
impl<T> Unpin for StackProfiler<T>where
T: Unpin,
impl<T> UnwindSafe for StackProfiler<T>where
T: UnwindSafe,
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