[−][src]Struct rusty_v8::HeapStatistics
Collection of V8 heap information.
Instances of this class can be passed to v8::Isolate::GetHeapStatistics to get heap statistics from V8.
Implementations
impl HeapStatistics
[src]
pub fn total_heap_size(&self) -> usize
[src]
pub fn total_heap_size_executable(&self) -> usize
[src]
pub fn total_physical_size(&self) -> usize
[src]
pub fn total_available_size(&self) -> usize
[src]
pub fn total_global_handles_size(&self) -> usize
[src]
pub fn used_global_handles_size(&self) -> usize
[src]
pub fn used_heap_size(&self) -> usize
[src]
pub fn heap_size_limit(&self) -> usize
[src]
pub fn malloced_memory(&self) -> usize
[src]
pub fn external_memory(&self) -> usize
[src]
pub fn peak_malloced_memory(&self) -> usize
[src]
pub fn number_of_native_contexts(&self) -> usize
[src]
pub fn number_of_detached_contexts(&self) -> usize
[src]
pub fn does_zap_garbage(&self) -> usize
[src]
Returns a 0/1 boolean, which signifies whether the V8 overwrite heap garbage with a bit pattern.
Trait Implementations
impl Default for HeapStatistics
[src]
Auto Trait Implementations
impl RefUnwindSafe for HeapStatistics
impl Send for HeapStatistics
impl Sync for HeapStatistics
impl Unpin for HeapStatistics
impl UnwindSafe for HeapStatistics
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,