Trait hyperscan::alloc::MallocLikeAllocator
source · pub trait MallocLikeAllocator {
// Required methods
fn allocate(&self, size: usize) -> Option<NonNull<u8>>;
fn deallocate(&self, ptr: NonNull<u8>);
}Available on crate feature
alloc only.