Expand description
Various allocator algorithms in a unified interface.
There are three types of allocators:
ByteAllocator: Byte-granularity memory allocator. (e.g., [BuddyByteAllocator], [SlabByteAllocator])PageAllocator: Page-granularity memory allocator. (e.g., [BitmapPageAllocator])IdAllocator: Used to allocate unique IDs.
Enums§
- Alloc
Error - The error type used for allocation.
Traits§
- Base
Allocator - The base allocator inherited by other allocators.
- Byte
Allocator - Byte-granularity allocator.
- IdAllocator
- Used to allocate unique IDs (e.g., thread ID).
- Page
Allocator - Page-granularity allocator.
Type Aliases§
- Alloc
Result - A
Resulttype withAllocErroras the error type.