Re-exports§
pub use config::TagAllocatorConfig;pub use errors::TagAllocatorError;
Modules§
Structs§
- Allocated
Tag - A tag value that is automatically returned to its allocator on drop.
Enums§
- Usage
- Identifies which component a partition belongs to.
Constants§
- TAG_
RANGE_ END - Upper bound of the application tag range (exclusive).
- TAG_
RANGE_ SIZE - Total number of available application tags.
- TAG_
RANGE_ START - Lower bound of the application tag range (exclusive end of [
ReservedTag] range).
Traits§
- TagAllocator
- Allocates unique tags from a fixed partition of the tag range.
Functions§
- create_
allocators - Create one
TagAllocatorper partition from a contiguous tag range. - create_
allocators_ from_ config - Create allocators from a
TagAllocatorConfig.
Type Aliases§
- Create
Allocators Result - Result type returned by
create_allocators.