pub trait ExternalAllocator {
// Required methods
fn allocate(&mut self, size: usize) -> Result<NonNull<u8>, ArenaError>;
fn deallocate(&mut self, ptr: NonNull<u8>, size: usize);
}Expand description
External allocator trait for growing arenas