pub struct HeapStatsUpdate {
pub method: HeapStatsUpdateMethod,
pub params: HeapStatsUpdateParams,
}Expand description
If heap objects tracking has been started then backend may send update for one or more fragments heapStatsUpdate
Fields§
§method: HeapStatsUpdateMethod§params: HeapStatsUpdateParamsImplementations§
Source§impl HeapStatsUpdate
impl HeapStatsUpdate
pub const IDENTIFIER: &'static str = "HeapProfiler.heapStatsUpdate"
pub fn identifier(&self) -> &'static str
Trait Implementations§
Source§impl Clone for HeapStatsUpdate
impl Clone for HeapStatsUpdate
Source§fn clone(&self) -> HeapStatsUpdate
fn clone(&self) -> HeapStatsUpdate
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 moreSource§impl Debug for HeapStatsUpdate
impl Debug for HeapStatsUpdate
Source§impl<'de> Deserialize<'de> for HeapStatsUpdate
impl<'de> Deserialize<'de> for HeapStatsUpdate
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 From<HeapStatsUpdate> for Event
impl From<HeapStatsUpdate> for Event
Source§fn from(v: HeapStatsUpdate) -> Self
fn from(v: HeapStatsUpdate) -> Self
Converts to this type from the input type.
Source§impl From<HeapStatsUpdate> for HeapProfilerEvents
impl From<HeapStatsUpdate> for HeapProfilerEvents
Source§fn from(v: HeapStatsUpdate) -> Self
fn from(v: HeapStatsUpdate) -> Self
Converts to this type from the input type.
Source§impl From<HeapStatsUpdate> for JsProtocolEvents
impl From<HeapStatsUpdate> for JsProtocolEvents
Source§fn from(v: HeapStatsUpdate) -> Self
fn from(v: HeapStatsUpdate) -> Self
Converts to this type from the input type.
Source§impl PartialEq for HeapStatsUpdate
impl PartialEq for HeapStatsUpdate
Source§impl Serialize for HeapStatsUpdate
impl Serialize for HeapStatsUpdate
Source§impl TryFrom<Event> for HeapStatsUpdate
impl TryFrom<Event> for HeapStatsUpdate
Source§impl TryFrom<HeapProfilerEvents> for HeapStatsUpdate
impl TryFrom<HeapProfilerEvents> for HeapStatsUpdate
Source§type Error = HeapProfilerEvents
type Error = HeapProfilerEvents
The type returned in the event of a conversion error.
Source§fn try_from(
e: HeapProfilerEvents,
) -> Result<Self, <HeapStatsUpdate as TryFrom<HeapProfilerEvents>>::Error>
fn try_from( e: HeapProfilerEvents, ) -> Result<Self, <HeapStatsUpdate as TryFrom<HeapProfilerEvents>>::Error>
Performs the conversion.
Source§impl TryFrom<JsProtocolEvents> for HeapStatsUpdate
impl TryFrom<JsProtocolEvents> for HeapStatsUpdate
Source§type Error = JsProtocolEvents
type Error = JsProtocolEvents
The type returned in the event of a conversion error.
Source§fn try_from(
e: JsProtocolEvents,
) -> Result<Self, <HeapStatsUpdate as TryFrom<JsProtocolEvents>>::Error>
fn try_from( e: JsProtocolEvents, ) -> Result<Self, <HeapStatsUpdate as TryFrom<JsProtocolEvents>>::Error>
Performs the conversion.
impl StructuralPartialEq for HeapStatsUpdate
Auto Trait Implementations§
impl Freeze for HeapStatsUpdate
impl RefUnwindSafe for HeapStatsUpdate
impl Send for HeapStatsUpdate
impl Sync for HeapStatsUpdate
impl Unpin for HeapStatsUpdate
impl UnsafeUnpin for HeapStatsUpdate
impl UnwindSafe for HeapStatsUpdate
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