pub enum HeapProfilerCommands {
AddInspectedHeapObject(AddInspectedHeapObject),
CollectGarbage(CollectGarbage),
Disable(Disable),
Enable(Enable),
GetHeapObjectId(GetHeapObjectId),
GetObjectByHeapObjectId(GetObjectByHeapObjectId),
GetSamplingProfile(GetSamplingProfile),
StartSampling(StartSampling),
StartTrackingHeapObjects(StartTrackingHeapObjects),
StopSampling(StopSampling),
StopTrackingHeapObjects(StopTrackingHeapObjects),
TakeHeapSnapshot(TakeHeapSnapshot),
}Variants§
AddInspectedHeapObject(AddInspectedHeapObject)
CollectGarbage(CollectGarbage)
Disable(Disable)
Enable(Enable)
GetHeapObjectId(GetHeapObjectId)
GetObjectByHeapObjectId(GetObjectByHeapObjectId)
GetSamplingProfile(GetSamplingProfile)
StartSampling(StartSampling)
StartTrackingHeapObjects(StartTrackingHeapObjects)
StopSampling(StopSampling)
StopTrackingHeapObjects(StopTrackingHeapObjects)
TakeHeapSnapshot(TakeHeapSnapshot)
Implementations§
Source§impl HeapProfilerCommands
impl HeapProfilerCommands
pub fn identifier(&self) -> &'static str
Trait Implementations§
Source§impl Clone for HeapProfilerCommands
impl Clone for HeapProfilerCommands
Source§fn clone(&self) -> HeapProfilerCommands
fn clone(&self) -> HeapProfilerCommands
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 HeapProfilerCommands
impl Debug for HeapProfilerCommands
Source§impl<'de> Deserialize<'de> for HeapProfilerCommands
impl<'de> Deserialize<'de> for HeapProfilerCommands
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<AddInspectedHeapObject> for HeapProfilerCommands
impl From<AddInspectedHeapObject> for HeapProfilerCommands
Source§fn from(v: AddInspectedHeapObject) -> Self
fn from(v: AddInspectedHeapObject) -> Self
Converts to this type from the input type.
Source§impl From<CollectGarbage> for HeapProfilerCommands
impl From<CollectGarbage> for HeapProfilerCommands
Source§fn from(v: CollectGarbage) -> Self
fn from(v: CollectGarbage) -> Self
Converts to this type from the input type.
Source§impl From<Disable> for HeapProfilerCommands
impl From<Disable> for HeapProfilerCommands
Source§impl From<Enable> for HeapProfilerCommands
impl From<Enable> for HeapProfilerCommands
Source§impl From<GetHeapObjectId> for HeapProfilerCommands
impl From<GetHeapObjectId> for HeapProfilerCommands
Source§fn from(v: GetHeapObjectId) -> Self
fn from(v: GetHeapObjectId) -> Self
Converts to this type from the input type.
Source§impl From<GetObjectByHeapObjectId> for HeapProfilerCommands
impl From<GetObjectByHeapObjectId> for HeapProfilerCommands
Source§fn from(v: GetObjectByHeapObjectId) -> Self
fn from(v: GetObjectByHeapObjectId) -> Self
Converts to this type from the input type.
Source§impl From<GetSamplingProfile> for HeapProfilerCommands
impl From<GetSamplingProfile> for HeapProfilerCommands
Source§fn from(v: GetSamplingProfile) -> Self
fn from(v: GetSamplingProfile) -> Self
Converts to this type from the input type.
Source§impl From<HeapProfilerCommands> for Command
impl From<HeapProfilerCommands> for Command
Source§fn from(v: HeapProfilerCommands) -> Self
fn from(v: HeapProfilerCommands) -> Self
Converts to this type from the input type.
Source§impl From<HeapProfilerCommands> for JsProtocolCommands
impl From<HeapProfilerCommands> for JsProtocolCommands
Source§fn from(v: HeapProfilerCommands) -> Self
fn from(v: HeapProfilerCommands) -> Self
Converts to this type from the input type.
Source§impl From<StartSampling> for HeapProfilerCommands
impl From<StartSampling> for HeapProfilerCommands
Source§fn from(v: StartSampling) -> Self
fn from(v: StartSampling) -> Self
Converts to this type from the input type.
Source§impl From<StartTrackingHeapObjects> for HeapProfilerCommands
impl From<StartTrackingHeapObjects> for HeapProfilerCommands
Source§fn from(v: StartTrackingHeapObjects) -> Self
fn from(v: StartTrackingHeapObjects) -> Self
Converts to this type from the input type.
Source§impl From<StopSampling> for HeapProfilerCommands
impl From<StopSampling> for HeapProfilerCommands
Source§fn from(v: StopSampling) -> Self
fn from(v: StopSampling) -> Self
Converts to this type from the input type.
Source§impl From<StopTrackingHeapObjects> for HeapProfilerCommands
impl From<StopTrackingHeapObjects> for HeapProfilerCommands
Source§fn from(v: StopTrackingHeapObjects) -> Self
fn from(v: StopTrackingHeapObjects) -> Self
Converts to this type from the input type.
Source§impl From<TakeHeapSnapshot> for HeapProfilerCommands
impl From<TakeHeapSnapshot> for HeapProfilerCommands
Source§fn from(v: TakeHeapSnapshot) -> Self
fn from(v: TakeHeapSnapshot) -> Self
Converts to this type from the input type.
Source§impl PartialEq for HeapProfilerCommands
impl PartialEq for HeapProfilerCommands
Source§impl Serialize for HeapProfilerCommands
impl Serialize for HeapProfilerCommands
Source§impl TryFrom<Command> for HeapProfilerCommands
impl TryFrom<Command> for HeapProfilerCommands
Source§impl TryFrom<HeapProfilerCommands> for AddInspectedHeapObject
impl TryFrom<HeapProfilerCommands> for AddInspectedHeapObject
Source§type Error = HeapProfilerCommands
type Error = HeapProfilerCommands
The type returned in the event of a conversion error.
Source§fn try_from(
e: HeapProfilerCommands,
) -> Result<Self, <AddInspectedHeapObject as TryFrom<HeapProfilerCommands>>::Error>
fn try_from( e: HeapProfilerCommands, ) -> Result<Self, <AddInspectedHeapObject as TryFrom<HeapProfilerCommands>>::Error>
Performs the conversion.
Source§impl TryFrom<HeapProfilerCommands> for CollectGarbage
impl TryFrom<HeapProfilerCommands> for CollectGarbage
Source§type Error = HeapProfilerCommands
type Error = HeapProfilerCommands
The type returned in the event of a conversion error.
Source§fn try_from(
e: HeapProfilerCommands,
) -> Result<Self, <CollectGarbage as TryFrom<HeapProfilerCommands>>::Error>
fn try_from( e: HeapProfilerCommands, ) -> Result<Self, <CollectGarbage as TryFrom<HeapProfilerCommands>>::Error>
Performs the conversion.
Source§impl TryFrom<HeapProfilerCommands> for Disable
impl TryFrom<HeapProfilerCommands> for Disable
Source§type Error = HeapProfilerCommands
type Error = HeapProfilerCommands
The type returned in the event of a conversion error.
Source§fn try_from(
e: HeapProfilerCommands,
) -> Result<Self, <Disable as TryFrom<HeapProfilerCommands>>::Error>
fn try_from( e: HeapProfilerCommands, ) -> Result<Self, <Disable as TryFrom<HeapProfilerCommands>>::Error>
Performs the conversion.
Source§impl TryFrom<HeapProfilerCommands> for Enable
impl TryFrom<HeapProfilerCommands> for Enable
Source§type Error = HeapProfilerCommands
type Error = HeapProfilerCommands
The type returned in the event of a conversion error.
Source§fn try_from(
e: HeapProfilerCommands,
) -> Result<Self, <Enable as TryFrom<HeapProfilerCommands>>::Error>
fn try_from( e: HeapProfilerCommands, ) -> Result<Self, <Enable as TryFrom<HeapProfilerCommands>>::Error>
Performs the conversion.
Source§impl TryFrom<HeapProfilerCommands> for GetHeapObjectId
impl TryFrom<HeapProfilerCommands> for GetHeapObjectId
Source§type Error = HeapProfilerCommands
type Error = HeapProfilerCommands
The type returned in the event of a conversion error.
Source§fn try_from(
e: HeapProfilerCommands,
) -> Result<Self, <GetHeapObjectId as TryFrom<HeapProfilerCommands>>::Error>
fn try_from( e: HeapProfilerCommands, ) -> Result<Self, <GetHeapObjectId as TryFrom<HeapProfilerCommands>>::Error>
Performs the conversion.
Source§impl TryFrom<HeapProfilerCommands> for GetObjectByHeapObjectId
impl TryFrom<HeapProfilerCommands> for GetObjectByHeapObjectId
Source§type Error = HeapProfilerCommands
type Error = HeapProfilerCommands
The type returned in the event of a conversion error.
Source§fn try_from(
e: HeapProfilerCommands,
) -> Result<Self, <GetObjectByHeapObjectId as TryFrom<HeapProfilerCommands>>::Error>
fn try_from( e: HeapProfilerCommands, ) -> Result<Self, <GetObjectByHeapObjectId as TryFrom<HeapProfilerCommands>>::Error>
Performs the conversion.
Source§impl TryFrom<HeapProfilerCommands> for GetSamplingProfile
impl TryFrom<HeapProfilerCommands> for GetSamplingProfile
Source§type Error = HeapProfilerCommands
type Error = HeapProfilerCommands
The type returned in the event of a conversion error.
Source§fn try_from(
e: HeapProfilerCommands,
) -> Result<Self, <GetSamplingProfile as TryFrom<HeapProfilerCommands>>::Error>
fn try_from( e: HeapProfilerCommands, ) -> Result<Self, <GetSamplingProfile as TryFrom<HeapProfilerCommands>>::Error>
Performs the conversion.
Source§impl TryFrom<HeapProfilerCommands> for StartSampling
impl TryFrom<HeapProfilerCommands> for StartSampling
Source§type Error = HeapProfilerCommands
type Error = HeapProfilerCommands
The type returned in the event of a conversion error.
Source§fn try_from(
e: HeapProfilerCommands,
) -> Result<Self, <StartSampling as TryFrom<HeapProfilerCommands>>::Error>
fn try_from( e: HeapProfilerCommands, ) -> Result<Self, <StartSampling as TryFrom<HeapProfilerCommands>>::Error>
Performs the conversion.
Source§impl TryFrom<HeapProfilerCommands> for StartTrackingHeapObjects
impl TryFrom<HeapProfilerCommands> for StartTrackingHeapObjects
Source§type Error = HeapProfilerCommands
type Error = HeapProfilerCommands
The type returned in the event of a conversion error.
Source§fn try_from(
e: HeapProfilerCommands,
) -> Result<Self, <StartTrackingHeapObjects as TryFrom<HeapProfilerCommands>>::Error>
fn try_from( e: HeapProfilerCommands, ) -> Result<Self, <StartTrackingHeapObjects as TryFrom<HeapProfilerCommands>>::Error>
Performs the conversion.
Source§impl TryFrom<HeapProfilerCommands> for StopSampling
impl TryFrom<HeapProfilerCommands> for StopSampling
Source§type Error = HeapProfilerCommands
type Error = HeapProfilerCommands
The type returned in the event of a conversion error.
Source§fn try_from(
e: HeapProfilerCommands,
) -> Result<Self, <StopSampling as TryFrom<HeapProfilerCommands>>::Error>
fn try_from( e: HeapProfilerCommands, ) -> Result<Self, <StopSampling as TryFrom<HeapProfilerCommands>>::Error>
Performs the conversion.
Source§impl TryFrom<HeapProfilerCommands> for StopTrackingHeapObjects
impl TryFrom<HeapProfilerCommands> for StopTrackingHeapObjects
Source§type Error = HeapProfilerCommands
type Error = HeapProfilerCommands
The type returned in the event of a conversion error.
Source§fn try_from(
e: HeapProfilerCommands,
) -> Result<Self, <StopTrackingHeapObjects as TryFrom<HeapProfilerCommands>>::Error>
fn try_from( e: HeapProfilerCommands, ) -> Result<Self, <StopTrackingHeapObjects as TryFrom<HeapProfilerCommands>>::Error>
Performs the conversion.
Source§impl TryFrom<HeapProfilerCommands> for TakeHeapSnapshot
impl TryFrom<HeapProfilerCommands> for TakeHeapSnapshot
Source§type Error = HeapProfilerCommands
type Error = HeapProfilerCommands
The type returned in the event of a conversion error.
Source§fn try_from(
e: HeapProfilerCommands,
) -> Result<Self, <TakeHeapSnapshot as TryFrom<HeapProfilerCommands>>::Error>
fn try_from( e: HeapProfilerCommands, ) -> Result<Self, <TakeHeapSnapshot as TryFrom<HeapProfilerCommands>>::Error>
Performs the conversion.
Source§impl TryFrom<JsProtocolCommands> for HeapProfilerCommands
impl TryFrom<JsProtocolCommands> for HeapProfilerCommands
Source§type Error = JsProtocolCommands
type Error = JsProtocolCommands
The type returned in the event of a conversion error.
Source§fn try_from(
e: JsProtocolCommands,
) -> Result<Self, <HeapProfilerCommands as TryFrom<JsProtocolCommands>>::Error>
fn try_from( e: JsProtocolCommands, ) -> Result<Self, <HeapProfilerCommands as TryFrom<JsProtocolCommands>>::Error>
Performs the conversion.
impl StructuralPartialEq for HeapProfilerCommands
Auto Trait Implementations§
impl Freeze for HeapProfilerCommands
impl RefUnwindSafe for HeapProfilerCommands
impl Send for HeapProfilerCommands
impl Sync for HeapProfilerCommands
impl Unpin for HeapProfilerCommands
impl UnsafeUnpin for HeapProfilerCommands
impl UnwindSafe for HeapProfilerCommands
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