Struct allocators::composable::Proxy
[−]
[src]
pub struct Proxy<A, L> { // some fields omitted }
This wraps an allocator and a logger, logging all allocations and deallocations.
Methods
impl<A: Allocator, L: ProxyLogger> Proxy<A, L>
fn new(alloc: A, logger: L) -> Self
Create a new proxy allocator.