struct UnitTime {
unit: Unit,
target: String,
start: f64,
duration: f64,
rmeta_time: Option<f64>,
unlocked_units: Vec<Unit>,
unlocked_rmeta_units: Vec<Unit>,
}
Expand description
Tracking information for an individual unit.
Fields§
§unit: Unit
§target: String
A string describing the cargo target.
start: f64
The time when this unit started as an offset in seconds from Timings::start
.
duration: f64
Total time to build this unit in seconds.
rmeta_time: Option<f64>
The time when the .rmeta
file was generated, an offset in seconds
from start
.
unlocked_units: Vec<Unit>
Reverse deps that are freed to run after this unit finished.
unlocked_rmeta_units: Vec<Unit>
Same as unlocked_units
, but unlocked by rmeta.
Implementations§
Auto Trait Implementations§
impl RefUnwindSafe for UnitTime
impl !Send for UnitTime
impl !Sync for UnitTime
impl Unpin for UnitTime
impl UnwindSafe for UnitTime
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
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> WithSubscriber for T
impl<T> WithSubscriber for T
source§fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where S: Into<Dispatch>,
source§fn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Layout§
Note: Most layout information is completely unstable and may even differ between compilations. The only exception is types with certain repr(...)
attributes. Please see the Rust Reference's “Type Layout” chapter for details on type layout guarantees.
Size: 112 bytes