Module resources::address_allocator
source · Structs§
- Manages allocating address ranges. Use
AddressAllocator
whenever an address range needs to be allocated to different users. Allocations must be uniquely tagged with an Alloc enum, which can be used for lookup. An human-readable tag String must also be provided for debugging / reference. - Contains a set of
AddressAllocator
s for allocating address ranges. When attempting an allocation, each allocator will be tried in order until the allocation is successful. SeeAddressAllocator
for function documentation.