pub enum HeapProfilerEvents {
AddHeapSnapshotChunk(AddHeapSnapshotChunk),
HeapStatsUpdate(HeapStatsUpdate),
LastSeenObjectId(LastSeenObjectId),
ReportHeapSnapshotProgress(ReportHeapSnapshotProgress),
ResetProfiles(ResetProfiles),
}Variants§
AddHeapSnapshotChunk(AddHeapSnapshotChunk)
HeapStatsUpdate(HeapStatsUpdate)
LastSeenObjectId(LastSeenObjectId)
ReportHeapSnapshotProgress(ReportHeapSnapshotProgress)
ResetProfiles(ResetProfiles)
Implementations§
Source§impl HeapProfilerEvents
impl HeapProfilerEvents
pub fn identifier(&self) -> &'static str
Trait Implementations§
Source§impl Clone for HeapProfilerEvents
impl Clone for HeapProfilerEvents
Source§fn clone(&self) -> HeapProfilerEvents
fn clone(&self) -> HeapProfilerEvents
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 HeapProfilerEvents
impl Debug for HeapProfilerEvents
Source§impl<'de> Deserialize<'de> for HeapProfilerEvents
impl<'de> Deserialize<'de> for HeapProfilerEvents
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<AddHeapSnapshotChunk> for HeapProfilerEvents
impl From<AddHeapSnapshotChunk> for HeapProfilerEvents
Source§fn from(v: AddHeapSnapshotChunk) -> Self
fn from(v: AddHeapSnapshotChunk) -> Self
Converts to this type from the input type.
Source§impl From<HeapProfilerEvents> for Event
impl From<HeapProfilerEvents> for Event
Source§fn from(v: HeapProfilerEvents) -> Self
fn from(v: HeapProfilerEvents) -> Self
Converts to this type from the input type.
Source§impl From<HeapProfilerEvents> for JsProtocolEvents
impl From<HeapProfilerEvents> for JsProtocolEvents
Source§fn from(v: HeapProfilerEvents) -> Self
fn from(v: HeapProfilerEvents) -> 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<LastSeenObjectId> for HeapProfilerEvents
impl From<LastSeenObjectId> for HeapProfilerEvents
Source§fn from(v: LastSeenObjectId) -> Self
fn from(v: LastSeenObjectId) -> Self
Converts to this type from the input type.
Source§impl From<ReportHeapSnapshotProgress> for HeapProfilerEvents
impl From<ReportHeapSnapshotProgress> for HeapProfilerEvents
Source§fn from(v: ReportHeapSnapshotProgress) -> Self
fn from(v: ReportHeapSnapshotProgress) -> Self
Converts to this type from the input type.
Source§impl From<ResetProfiles> for HeapProfilerEvents
impl From<ResetProfiles> for HeapProfilerEvents
Source§fn from(v: ResetProfiles) -> Self
fn from(v: ResetProfiles) -> Self
Converts to this type from the input type.
Source§impl PartialEq for HeapProfilerEvents
impl PartialEq for HeapProfilerEvents
Source§impl Serialize for HeapProfilerEvents
impl Serialize for HeapProfilerEvents
Source§impl TryFrom<Event> for HeapProfilerEvents
impl TryFrom<Event> for HeapProfilerEvents
Source§impl TryFrom<HeapProfilerEvents> for AddHeapSnapshotChunk
impl TryFrom<HeapProfilerEvents> for AddHeapSnapshotChunk
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, <AddHeapSnapshotChunk as TryFrom<HeapProfilerEvents>>::Error>
fn try_from( e: HeapProfilerEvents, ) -> Result<Self, <AddHeapSnapshotChunk as TryFrom<HeapProfilerEvents>>::Error>
Performs the conversion.
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<HeapProfilerEvents> for LastSeenObjectId
impl TryFrom<HeapProfilerEvents> for LastSeenObjectId
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, <LastSeenObjectId as TryFrom<HeapProfilerEvents>>::Error>
fn try_from( e: HeapProfilerEvents, ) -> Result<Self, <LastSeenObjectId as TryFrom<HeapProfilerEvents>>::Error>
Performs the conversion.
Source§impl TryFrom<HeapProfilerEvents> for ReportHeapSnapshotProgress
impl TryFrom<HeapProfilerEvents> for ReportHeapSnapshotProgress
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, <ReportHeapSnapshotProgress as TryFrom<HeapProfilerEvents>>::Error>
fn try_from( e: HeapProfilerEvents, ) -> Result<Self, <ReportHeapSnapshotProgress as TryFrom<HeapProfilerEvents>>::Error>
Performs the conversion.
Source§impl TryFrom<HeapProfilerEvents> for ResetProfiles
impl TryFrom<HeapProfilerEvents> for ResetProfiles
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, <ResetProfiles as TryFrom<HeapProfilerEvents>>::Error>
fn try_from( e: HeapProfilerEvents, ) -> Result<Self, <ResetProfiles as TryFrom<HeapProfilerEvents>>::Error>
Performs the conversion.
Source§impl TryFrom<JsProtocolEvents> for HeapProfilerEvents
impl TryFrom<JsProtocolEvents> for HeapProfilerEvents
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, <HeapProfilerEvents as TryFrom<JsProtocolEvents>>::Error>
fn try_from( e: JsProtocolEvents, ) -> Result<Self, <HeapProfilerEvents as TryFrom<JsProtocolEvents>>::Error>
Performs the conversion.
impl StructuralPartialEq for HeapProfilerEvents
Auto Trait Implementations§
impl Freeze for HeapProfilerEvents
impl RefUnwindSafe for HeapProfilerEvents
impl Send for HeapProfilerEvents
impl Sync for HeapProfilerEvents
impl Unpin for HeapProfilerEvents
impl UnsafeUnpin for HeapProfilerEvents
impl UnwindSafe for HeapProfilerEvents
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