#[non_exhaustive]pub struct StartupPhase {
pub name: String,
pub duration_ms: f64,
pub cumulative_ms: f64,
}Expand description
A single phase in the startup timeline.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.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§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