pub struct HeapStatsUpdateEvent {
pub stats_update: Vec<i64>,
}Expand description
If heap objects tracking has been started then backend may send update for one or more fragments
Payload of the HeapProfiler.heapStatsUpdate event.
Fields§
§stats_update: Vec<i64>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§
Source§impl Clone for HeapStatsUpdateEvent
impl Clone for HeapStatsUpdateEvent
Source§impl Debug for HeapStatsUpdateEvent
impl Debug for HeapStatsUpdateEvent
Source§impl Default for HeapStatsUpdateEvent
impl Default for HeapStatsUpdateEvent
Source§impl<'de> Deserialize<'de> for HeapStatsUpdateEvent
impl<'de> Deserialize<'de> for HeapStatsUpdateEvent
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
Source§impl Event for HeapStatsUpdateEvent
impl Event for HeapStatsUpdateEvent
Source§impl PartialEq for HeapStatsUpdateEvent
impl PartialEq for HeapStatsUpdateEvent
Source§impl Serialize for HeapStatsUpdateEvent
impl Serialize for HeapStatsUpdateEvent
impl StructuralPartialEq for HeapStatsUpdateEvent
Auto Trait Implementations§
impl Forget for HeapStatsUpdateEvent
impl Freeze for HeapStatsUpdateEvent
impl RefUnwindSafe for HeapStatsUpdateEvent
impl Send for HeapStatsUpdateEvent
impl Sync for HeapStatsUpdateEvent
impl Unpin for HeapStatsUpdateEvent
impl UnsafeUnpin for HeapStatsUpdateEvent
impl UnwindSafe for HeapStatsUpdateEvent
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