Struct async_alloc_counter::TraceAllocator [−][src]
pub struct TraceAllocator<T> { /* fields omitted */ }Trait Implementations
Auto Trait Implementations
impl<T> RefUnwindSafe for TraceAllocator<T> where
T: RefUnwindSafe,
impl<T> Send for TraceAllocator<T> where
T: Send,
impl<T> Sync for TraceAllocator<T> where
T: Sync,
impl<T> UnwindSafe for TraceAllocator<T> where
T: UnwindSafe,
Blanket Implementations
Mutably borrows from an owned value. Read more
🔬 This is a nightly-only experimental API. (
into_future)The output that the future will produce on completion.
type Future = F
type Future = F
🔬 This is a nightly-only experimental API. (
into_future)Which kind of future are we turning this into?
🔬 This is a nightly-only experimental API. (
into_future)Creates a future from a value.
fn count_allocations(self) -> TraceAllocator<Self>ⓘNotable traits for TraceAllocator<T>impl<T: Future> Future for TraceAllocator<T> type Output = (usize, T::Output);
fn count_allocations(self) -> TraceAllocator<Self>ⓘNotable traits for TraceAllocator<T>impl<T: Future> Future for TraceAllocator<T> type Output = (usize, T::Output);
Notable traits for TraceAllocator<T>
impl<T: Future> Future for TraceAllocator<T> type Output = (usize, T::Output);Wraps the future and returns a new one that will resolve
to (max allocations, future result) Read more