pub struct ReportBuilder<'a> { /* private fields */ }
Expand description
A builder of Report
and UnresolvedReport
. It builds report from a running Profiler
.
Implementations§
Source§impl<'a> ReportBuilder<'a>
impl<'a> ReportBuilder<'a>
Sourcepub fn frames_post_processor<T>(
&mut self,
frames_post_processor: T,
) -> &mut Self
pub fn frames_post_processor<T>( &mut self, frames_post_processor: T, ) -> &mut Self
Set frames_post_processor
of a ReportBuilder
. Before finally building a report, frames_post_processor
will be applied to every Frames.
Sourcepub fn build_unresolved(&self) -> Result<UnresolvedReport>
pub fn build_unresolved(&self) -> Result<UnresolvedReport>
Build an UnresolvedReport
Auto Trait Implementations§
impl<'a> Freeze for ReportBuilder<'a>
impl<'a> !RefUnwindSafe for ReportBuilder<'a>
impl<'a> !Send for ReportBuilder<'a>
impl<'a> !Sync for ReportBuilder<'a>
impl<'a> Unpin for ReportBuilder<'a>
impl<'a> !UnwindSafe for ReportBuilder<'a>
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