pub struct ProfileRunner;Expand description
Profile runner for executing and measuring jobs
Implementations§
Source§impl ProfileRunner
impl ProfileRunner
Sourcepub async fn profile_job<F, Fut>(
job_fn: F,
config: ProfileConfig,
) -> Result<JobProfile, ProfilingError>
pub async fn profile_job<F, Fut>( job_fn: F, config: ProfileConfig, ) -> Result<JobProfile, ProfilingError>
Auto Trait Implementations§
impl Freeze for ProfileRunner
impl RefUnwindSafe for ProfileRunner
impl Send for ProfileRunner
impl Sync for ProfileRunner
impl Unpin for ProfileRunner
impl UnsafeUnpin for ProfileRunner
impl UnwindSafe for ProfileRunner
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