pub struct GetHeapUsage {
pub method: GetHeapUsageMethod,
pub params: GetHeapUsageParams,
}Expand description
Returns the JavaScript heap usage. It is the total usage of the corresponding isolate not scoped to a particular Runtime. getHeapUsage
Fields§
§method: GetHeapUsageMethod§params: GetHeapUsageParamsImplementations§
Source§impl GetHeapUsage
impl GetHeapUsage
pub fn builder() -> GetHeapUsageBuilder
Source§impl GetHeapUsage
impl GetHeapUsage
pub const IDENTIFIER: &'static str = "Runtime.getHeapUsage"
pub fn identifier(&self) -> &'static str
Trait Implementations§
Source§impl Clone for GetHeapUsage
impl Clone for GetHeapUsage
Source§fn clone(&self) -> GetHeapUsage
fn clone(&self) -> GetHeapUsage
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 CommandResult for GetHeapUsage
impl CommandResult for GetHeapUsage
type Result = GetHeapUsageResult
fn result_from_value(result: Value) -> Result<Self::Result>
Source§impl Debug for GetHeapUsage
impl Debug for GetHeapUsage
Source§impl<'de> Deserialize<'de> for GetHeapUsage
impl<'de> Deserialize<'de> for GetHeapUsage
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<GetHeapUsage> for Command
impl From<GetHeapUsage> for Command
Source§fn from(v: GetHeapUsage) -> Self
fn from(v: GetHeapUsage) -> Self
Converts to this type from the input type.
Source§impl From<GetHeapUsage> for JsProtocolCommands
impl From<GetHeapUsage> for JsProtocolCommands
Source§fn from(v: GetHeapUsage) -> Self
fn from(v: GetHeapUsage) -> Self
Converts to this type from the input type.
Source§impl From<GetHeapUsage> for RuntimeCommands
impl From<GetHeapUsage> for RuntimeCommands
Source§fn from(v: GetHeapUsage) -> Self
fn from(v: GetHeapUsage) -> Self
Converts to this type from the input type.
Source§impl PartialEq for GetHeapUsage
impl PartialEq for GetHeapUsage
Source§impl Serialize for GetHeapUsage
impl Serialize for GetHeapUsage
Source§impl TryFrom<Command> for GetHeapUsage
impl TryFrom<Command> for GetHeapUsage
Source§impl TryFrom<JsProtocolCommands> for GetHeapUsage
impl TryFrom<JsProtocolCommands> for GetHeapUsage
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, <GetHeapUsage as TryFrom<JsProtocolCommands>>::Error>
fn try_from( e: JsProtocolCommands, ) -> Result<Self, <GetHeapUsage as TryFrom<JsProtocolCommands>>::Error>
Performs the conversion.
Source§impl TryFrom<RuntimeCommands> for GetHeapUsage
impl TryFrom<RuntimeCommands> for GetHeapUsage
Source§type Error = RuntimeCommands
type Error = RuntimeCommands
The type returned in the event of a conversion error.
Source§fn try_from(
e: RuntimeCommands,
) -> Result<Self, <GetHeapUsage as TryFrom<RuntimeCommands>>::Error>
fn try_from( e: RuntimeCommands, ) -> Result<Self, <GetHeapUsage as TryFrom<RuntimeCommands>>::Error>
Performs the conversion.
impl StructuralPartialEq for GetHeapUsage
Auto Trait Implementations§
impl Freeze for GetHeapUsage
impl RefUnwindSafe for GetHeapUsage
impl Send for GetHeapUsage
impl Sync for GetHeapUsage
impl Unpin for GetHeapUsage
impl UnsafeUnpin for GetHeapUsage
impl UnwindSafe for GetHeapUsage
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