pub struct StartupPhase {
pub name: String,
pub duration_ms: f64,
pub cumulative_ms: f64,
}Expand description
A single phase in the startup timeline.
Fields§
§name: StringPhase name.
duration_ms: f64Duration of this phase in milliseconds.
cumulative_ms: f64Cumulative time from plugin init start.
Trait Implementations§
Source§impl Clone for StartupPhase
impl Clone for StartupPhase
Source§fn clone(&self) -> StartupPhase
fn clone(&self) -> StartupPhase
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 StartupPhase
impl Debug for StartupPhase
Auto Trait Implementations§
impl Freeze for StartupPhase
impl RefUnwindSafe for StartupPhase
impl Send for StartupPhase
impl Sync for StartupPhase
impl Unpin for StartupPhase
impl UnsafeUnpin for StartupPhase
impl UnwindSafe for StartupPhase
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