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

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

Method to launch a heapsize measurement with a fresh state.

Implementors