[][src]Struct leak_detect_allocator::LeakTracer

pub struct LeakTracer<LDT, VN> where
    VN: ArrayLength<usize>,
    LDT: LeakDataTrait<VN>, 
{ /* fields omitted */ }

Implementations

impl<LDT, VN> LeakTracer<LDT, VN> where
    VN: ArrayLength<usize>,
    LDT: LeakDataTrait<VN>, 
[src]

pub const fn new() -> Self[src]

pub fn init(&self) -> usize[src]

pub fn now_leaks<F>(&self, f: F) where
    F: FnMut(usize, &HeaplessVec<usize, VN>) -> bool
[src]

pub unsafe fn get_symbol_name(&self, addr: usize) -> Option<String>[src]

Trait Implementations

impl<LDT, VN> GlobalAlloc for LeakTracer<LDT, VN> where
    VN: ArrayLength<usize>,
    LDT: LeakDataTrait<VN>, 
[src]

Auto Trait Implementations

impl<LDT, VN> !RefUnwindSafe for LeakTracer<LDT, VN>

impl<LDT, VN> Send for LeakTracer<LDT, VN> where
    LDT: Send,
    VN: Send

impl<LDT, VN> Sync for LeakTracer<LDT, VN> where
    LDT: Send,
    VN: Sync

impl<LDT, VN> Unpin for LeakTracer<LDT, VN> where
    VN: Unpin

impl<LDT, VN> UnwindSafe for LeakTracer<LDT, VN> where
    LDT: UnwindSafe,
    VN: UnwindSafe

Blanket Implementations

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

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

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

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

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

impl<T> Same<T> for T

type Output = T

Should always be Self

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.