std::core::mem::mempool

Public

Types

NameDescription
FixedBlockPoolFixed blocks pool pre-allocating blocks backed by an Allocator which are then reserved for the user,...
FixedBlockPoolEntry
FixedBlockPoolNode

Functions

NameDescription
mempool::deallocDeallocate a block from the block pool
mempool::initInitialize an block pool
mempool::init_for_typeInitialize an block pool
mempool::allocAllocate an block on the block pool, re-uses previously deallocated blocks
mempool::tinitInitialize an block pool using Temporary allocator
mempool::freeFree up the entire block pool
mempool::tinit_for_typeInitialize an block pool using Temporary allocator

Globals

NameDescription
INITIAL_CAPACITY

Private

Functions

NameDescription
mempool::allocate_page
mempool::calculate_actual_capacity
mempool::free_page