Module resources::address_allocator
source · Structs§
- Manages allocating address ranges. Use
AddressAllocatorwhenever 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
AddressAllocators for allocating address ranges. When attempting an allocation, each allocator will be tried in order until the allocation is successful. SeeAddressAllocatorfor function documentation.