Struct tracking_allocator::Allocator [−][src]
pub struct Allocator<A> { /* fields omitted */ }Expand description
Tracking allocator implementation.
This allocator must be installed via #[global_allocator] in order to take effect. More
information on using this allocator can be found in the examples, or directly in the standard
library docs for GlobalAlloc.
Implementations
Creates a new Allocator that wraps another allocator.
Trait Implementations
Auto Trait Implementations
impl<A> RefUnwindSafe for Allocator<A> where
A: RefUnwindSafe,
impl<A> UnwindSafe for Allocator<A> where
A: UnwindSafe,
Blanket Implementations
Mutably borrows from an owned value. Read more
Instruments this type with the provided Span, returning an
Instrumented wrapper. Read more
Attaches the provided Subscriber to this type, returning a
WithDispatch wrapper. Read more
Attaches the current default Subscriber to this type, returning a
WithDispatch wrapper. Read more