[][src]Struct rpmalloc::RpMalloc

pub struct RpMalloc;

rpmalloc global allocator wrapper

Methods

impl RpMalloc[src]

pub fn global_stats() -> rpmalloc_global_statistics_t[src]

Retrieve global allocation stats.

Some of the fields in these will only be used if the statistics feature is enabled

pub fn thread_stats() -> rpmalloc_thread_statistics_t[src]

Retrieve allocation stats for the current thread.

Some of the fields in these will only be used if the statistics feature is enabled

Trait Implementations

impl GlobalAlloc for RpMalloc[src]

Auto Trait Implementations

Blanket Implementations

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]