pub struct GetHeapUsageReturns {
pub usedSize: f64,
pub totalSize: f64,
pub embedderHeapUsedSize: f64,
pub backingStorageSize: f64,
}Expand description
Returns the JavaScript heap usage. It is the total usage of the corresponding isolate not scoped to a particular Runtime.
Fields§
§usedSize: f64Used JavaScript heap size in bytes.
totalSize: f64Allocated JavaScript heap size in bytes.
embedderHeapUsedSize: f64Used size in bytes in the embedder’s garbage-collected heap.
backingStorageSize: f64Size in bytes of backing storage for array buffers and external strings.
Trait Implementations§
Source§impl Clone for GetHeapUsageReturns
impl Clone for GetHeapUsageReturns
Source§fn clone(&self) -> GetHeapUsageReturns
fn clone(&self) -> GetHeapUsageReturns
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 GetHeapUsageReturns
impl Debug for GetHeapUsageReturns
Source§impl Default for GetHeapUsageReturns
impl Default for GetHeapUsageReturns
Source§fn default() -> GetHeapUsageReturns
fn default() -> GetHeapUsageReturns
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for GetHeapUsageReturns
impl<'de> Deserialize<'de> for GetHeapUsageReturns
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
Auto Trait Implementations§
impl Freeze for GetHeapUsageReturns
impl RefUnwindSafe for GetHeapUsageReturns
impl Send for GetHeapUsageReturns
impl Sync for GetHeapUsageReturns
impl Unpin for GetHeapUsageReturns
impl UnsafeUnpin for GetHeapUsageReturns
impl UnwindSafe for GetHeapUsageReturns
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