pub struct TimingPhase {
pub name: String,
pub duration: Duration,
}Expand description
A timing phase with label and duration.
Fields§
§name: StringPhase name (e.g., “Parse”, “Plan”, “Execute”)
duration: DurationDuration of this phase
Implementations§
Trait Implementations§
Source§impl Clone for TimingPhase
impl Clone for TimingPhase
Source§fn clone(&self) -> TimingPhase
fn clone(&self) -> TimingPhase
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 moreAuto Trait Implementations§
impl Freeze for TimingPhase
impl RefUnwindSafe for TimingPhase
impl Send for TimingPhase
impl Sync for TimingPhase
impl Unpin for TimingPhase
impl UnsafeUnpin for TimingPhase
impl UnwindSafe for TimingPhase
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