#[non_exhaustive]pub struct WrapperTiming {
pub adapter: String,
pub unit: Option<String>,
pub pid: u32,
pub start_us: u64,
pub duration_ns: u64,
pub phases_ns: BTreeMap<String, u64>,
pub spans: Vec<WrapperSpan>,
pub unit_id: Option<String>,
pub dependencies: Vec<String>,
}Expand description
One wrapper invocation, independent of its cache hit/miss accounting.
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.adapter: StringCompiler adapter, such as rustc or cc.
unit: Option<String>Crate or source name, when known.
pid: u32Wrapper process, used as the trace lane.
start_us: u64Wall-clock start in microseconds since the Unix epoch.
duration_ns: u64Monotonic elapsed time, excluding telemetry delivery.
phases_ns: BTreeMap<String, u64>Exclusive durations; nested work is subtracted from its parent.
spans: Vec<WrapperSpan>Nested spans relative to this wrapper’s start, capped at 512.
unit_id: Option<String>The build unit this invocation produced, when it can be identified.
dependencies: Vec<String>Units whose outputs this invocation consumed, by Self::unit_id.
Trait Implementations§
Source§impl Clone for WrapperTiming
impl Clone for WrapperTiming
Source§impl Debug for WrapperTiming
impl Debug for WrapperTiming
Source§impl Default for WrapperTiming
impl Default for WrapperTiming
Source§impl<'de> Deserialize<'de> for WrapperTiming
impl<'de> Deserialize<'de> for WrapperTiming
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for WrapperTiming
Source§impl PartialEq for WrapperTiming
impl PartialEq for WrapperTiming
Source§impl Serialize for WrapperTiming
impl Serialize for WrapperTiming
impl StructuralPartialEq for WrapperTiming
Auto Trait Implementations§
impl Freeze for WrapperTiming
impl RefUnwindSafe for WrapperTiming
impl Send for WrapperTiming
impl Sync for WrapperTiming
impl Unpin for WrapperTiming
impl UnsafeUnpin for WrapperTiming
impl UnwindSafe for WrapperTiming
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