pub struct SelfProfilesReport { /* private fields */ }
Implementations§
Source§impl SelfProfilesReport
impl SelfProfilesReport
pub fn from_snapshot(data: &[InspectData]) -> Result<Vec<Self>, AnalysisError>
pub fn from_single_snapshot( data: &InspectData, ) -> Option<Result<Self, AnalysisError>>
pub fn name(&self) -> &str
pub fn root_summary(&self) -> &DurationSummary
pub fn leaf_durations(&self) -> Vec<(String, DurationSummary)>
pub fn delta_from(&self, baseline: &Self) -> Result<Self, ComparisonError>
pub fn add_rollup( &mut self, title: impl Into<String>, prefixes: impl IntoIterator<Item = impl Into<String>>, )
Trait Implementations§
Source§impl Debug for SelfProfilesReport
impl Debug for SelfProfilesReport
Source§impl Display for SelfProfilesReport
impl Display for SelfProfilesReport
Source§impl PartialEq for SelfProfilesReport
impl PartialEq for SelfProfilesReport
impl StructuralPartialEq for SelfProfilesReport
Auto Trait Implementations§
impl Freeze for SelfProfilesReport
impl RefUnwindSafe for SelfProfilesReport
impl Send for SelfProfilesReport
impl Sync for SelfProfilesReport
impl Unpin for SelfProfilesReport
impl UnwindSafe for SelfProfilesReport
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