pub struct HeapStatistics {
pub heap_total: u64,
pub heap_used: u64,
pub external: u64,
}Expand description
deno’s heap statistics
Fields§
§heap_total: u64total size of the heap for V8, in bytes
heap_used: u64amount of the heap used for V8, in bytes
external: u64emory, in bytes, associated with JavaScript objects outside of the JavaScript isolate
Trait Implementations§
Source§impl Debug for HeapStatistics
impl Debug for HeapStatistics
Source§impl<'de> Deserialize<'de> for HeapStatistics
impl<'de> Deserialize<'de> for HeapStatistics
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 HeapStatistics
impl RefUnwindSafe for HeapStatistics
impl Send for HeapStatistics
impl Sync for HeapStatistics
impl Unpin for HeapStatistics
impl UnwindSafe for HeapStatistics
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