Struct cdp::heap_profiler::HeapStatsUpdateEvent
[−]
[src]
pub struct HeapStatsUpdateEvent {
pub stats_update: Vec<i32>,
}[Experimental] If heap objects tracking has been started then backend may send update for one or more fragments
Event HeapProfiler.heapStatsUpdate
Domain Module: cdp::heap_profiler
Event Struct: cdp::heap_profiler::HeapStatsUpdateEvent
Fields
stats_update: Vec<i32>
An array of triplets. Each triplet describes a fragment. The first integer is the fragment index, the second integer is a total count of objects for the fragment, the third integer is a total size of the objects for the fragment.
Trait Implementations
impl Clone for HeapStatsUpdateEvent[src]
fn clone(&self) -> HeapStatsUpdateEvent[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0[src]
Performs copy-assignment from source. Read more
impl Debug for HeapStatsUpdateEvent[src]
impl PartialEq for HeapStatsUpdateEvent[src]
fn eq(&self, __arg_0: &HeapStatsUpdateEvent) -> bool[src]
This method tests for self and other values to be equal, and is used by ==. Read more
fn ne(&self, __arg_0: &HeapStatsUpdateEvent) -> bool[src]
This method tests for !=.
impl CdpEvent for HeapStatsUpdateEvent[src]
const EVENT_NAME: &'static str
EVENT_NAME: &'static str = "HeapProfiler.heapStatsUpdate"
impl SerializeCdpEvent for HeapStatsUpdateEvent[src]
fn event_name(&self) -> &str[src]
fn serialize_event_params<S>(&self, serializer: S) -> Result<S::Ok, S::Error> where
S: Serializer, [src]
S: Serializer,
impl<'de> DeserializeCdpEvent<'de> for HeapStatsUpdateEvent[src]
fn deserialize_event<D>(
name: &str,
params: D
) -> Result<Result<Self, D::Error>, D> where
D: Deserializer<'de>, [src]
name: &str,
params: D
) -> Result<Result<Self, D::Error>, D> where
D: Deserializer<'de>,