Enum metrics_events::MetricEventType
source · pub enum MetricEventType {
Show 27 variants
CpuUsage,
MemoryUsage,
Fps,
JankyFps,
NetworkTxRate,
NetworkRxRate,
Interrupts,
FrameTime,
EmulatorGraphicsFreeze,
EmulatorGraphicsUnfreeze,
EmulatorGfxstreamVkAbortReason,
ChildProcessExit {
exit_code: u32,
},
ReadIo,
WriteIo,
TscCoresOutOfSync,
NetworkTxRateSummarized,
NetworkRxRateSummarized,
DllLoaded(String),
GraphicsHangRenderThread,
GraphicsHangSyncThread,
AudioNoopStreamForced,
AudioPlaybackError,
RtcWakeup,
VirtioWakeup {
virtio_id: u32,
},
VcpuShutdownError,
Other(i64),
Vendor(MetricEventType),
}
Variants§
CpuUsage
MemoryUsage
Fps
JankyFps
NetworkTxRate
NetworkRxRate
Interrupts
FrameTime
EmulatorGraphicsFreeze
EmulatorGraphicsUnfreeze
EmulatorGfxstreamVkAbortReason
ChildProcessExit
ReadIo
WriteIo
TscCoresOutOfSync
NetworkTxRateSummarized
NetworkRxRateSummarized
DllLoaded(String)
GraphicsHangRenderThread
GraphicsHangSyncThread
AudioNoopStreamForced
AudioPlaybackError
RtcWakeup
VirtioWakeup
VcpuShutdownError
Other(i64)
Vendor(MetricEventType)
Trait Implementations§
source§impl Clone for MetricEventType
impl Clone for MetricEventType
source§fn clone(&self) -> MetricEventType
fn clone(&self) -> MetricEventType
Returns a copy 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 moresource§impl Debug for MetricEventType
impl Debug for MetricEventType
source§impl<'de> Deserialize<'de> for MetricEventType
impl<'de> Deserialize<'de> for MetricEventType
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
Auto Trait Implementations§
impl RefUnwindSafe for MetricEventType
impl Send for MetricEventType
impl Sync for MetricEventType
impl Unpin for MetricEventType
impl UnwindSafe for MetricEventType
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