pub enum TelemetryEvent {
MetricUpdate {
id: MetricId,
value: MetricValue,
},
ResourceReport(ResourceUsageReport),
HardwareReport(HardwareReport),
GpuReport(GpuReport),
PhaseChange(String),
}Expand description
A high-level telemetry event produced by the Hot Path or hardware sensors.
Variants§
MetricUpdate
A single metric sample update.
ResourceReport(ResourceUsageReport)
A hardware resource usage report (typically bytes/memory).
HardwareReport(HardwareReport)
A physical hardware health report (thermal, CPU load).
GpuReport(GpuReport)
A GPU performance report (frame timings, draw calls, triangles).
PhaseChange(String)
A change in the execution phase signaled by the engine.
Trait Implementations§
Source§impl Clone for TelemetryEvent
impl Clone for TelemetryEvent
Source§fn clone(&self) -> TelemetryEvent
fn clone(&self) -> TelemetryEvent
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 TelemetryEvent
impl RefUnwindSafe for TelemetryEvent
impl Send for TelemetryEvent
impl Sync for TelemetryEvent
impl Unpin for TelemetryEvent
impl UnwindSafe for TelemetryEvent
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