Structs§
- Allocation
Slot Descriptor - AllocationSlotDescriptor
- Memory
Manager Authority Record - MemoryManagerAuthorityRecord
- Memory
Manager IdRange - MemoryManagerIdRange
- Memory
Manager Range Authority - MemoryManagerRangeAuthority
Enums§
- Allocation
Slot - AllocationSlot
- Allocation
Slot Descriptor Error - AllocationSlotDescriptorError
- Memory
Manager Range Authority Error - MemoryManagerRangeAuthorityError
- Memory
Manager Range Error - MemoryManagerRangeError
- Memory
Manager Range Mode - MemoryManagerRangeMode
- Memory
Manager Slot Error - MemoryManagerSlotError
Constants§
- IC_
MEMORY_ AUTHORITY_ OWNER - Diagnostic owner label for
ic-memoryallocation-governance infrastructure. - IC_
MEMORY_ AUTHORITY_ PURPOSE - Diagnostic purpose for the
ic-memoryallocation-governance authority range. - IC_
MEMORY_ LEDGER_ LABEL - Diagnostic label of the allocation ledger when backed by the current MemoryManager substrate.
- IC_
MEMORY_ LEDGER_ STABLE_ KEY - Stable key of the allocation ledger when backed by the current MemoryManager substrate.
- IC_
MEMORY_ STABLE_ KEY_ PREFIX - Stable-key namespace prefix reserved for
ic-memoryallocation-governance infrastructure. - MEMORY_
MANAGER_ DESCRIPTOR_ VERSION - Descriptor version for current
MemoryManagerIdslots. - MEMORY_
MANAGER_ GOVERNANCE_ MAX_ ID - Last MemoryManager ID reserved for
ic-memorygovernance in the current substrate. - MEMORY_
MANAGER_ INVALID_ ID MemoryManagerunallocated-bucket sentinel. This is not a usable slot.- MEMORY_
MANAGER_ LEDGER_ ID - MemoryManager ID used by the allocation ledger in the current MemoryManager substrate.
- MEMORY_
MANAGER_ MAX_ ID - Last usable
MemoryManagervirtual memory ID. - MEMORY_
MANAGER_ MIN_ ID - First usable
MemoryManagervirtual memory ID. - MEMORY_
MANAGER_ SUBSTRATE - Substrate identifier for
ic-stable-structures::MemoryManagerslots.
Functions§
- is_
ic_ memory_ stable_ key - Return true when
stable_keybelongs to theic-memorynamespace. - memory_
manager_ governance_ range - MemoryManager range reserved for
ic-memorygovernance in the current substrate. - validate_
memory_ manager_ id - Validate that a
MemoryManagerID is usable as an allocation slot.