[][src]Trait parity_util_mem::allocators::MallocSizeOfExt

pub trait MallocSizeOfExt: MallocSizeOf {
    fn malloc_size_of(&self) -> usize { ... }
}

Extension methods for MallocSizeOf trait, do not implement directly. It allows getting heapsize without exposing MallocSizeOfOps (a single default MallocSizeOfOps is used for each call).

Provided methods

fn malloc_size_of(&self) -> usize[src]

Method to launch a heapsize measurement with a fresh state.

Loading content...

Implementors

impl<T: MallocSizeOf> MallocSizeOfExt for T[src]

Loading content...