pub struct LoadingStats {
pub module_count: usize,
pub total_time: Duration,
pub validation_time: Duration,
pub dependency_resolution_time: Duration,
pub configuration_time: Duration,
pub initialization_time: Duration,
pub boot_time: Duration,
}
Expand description
Statistics for module loading process
Fields§
§module_count: usize
§total_time: Duration
§validation_time: Duration
§dependency_resolution_time: Duration
§configuration_time: Duration
§initialization_time: Duration
§boot_time: Duration
Implementations§
Source§impl LoadingStats
impl LoadingStats
Sourcepub fn phase_percentages(&self) -> PhasePercentages
pub fn phase_percentages(&self) -> PhasePercentages
Get the percentage of time spent on each phase
Trait Implementations§
Source§impl Clone for LoadingStats
impl Clone for LoadingStats
Source§fn clone(&self) -> LoadingStats
fn clone(&self) -> LoadingStats
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for LoadingStats
impl Debug for LoadingStats
Auto Trait Implementations§
impl Freeze for LoadingStats
impl RefUnwindSafe for LoadingStats
impl Send for LoadingStats
impl Sync for LoadingStats
impl Unpin for LoadingStats
impl UnwindSafe for LoadingStats
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