Expand description
Compute Storage module.
Structs§
- Bytes
Read Guard - Owned read guard. References obtained through Deref cannot outlive the guard.
- Bytes
Resource - A checked range of a CPU allocation. Clones share the allocation and its borrow registry, not independently mutable slices.
- Bytes
Storage - The bytes storage maps IDs to reference-counted, initialized allocations. Removing an ID prevents new lookups; outstanding resources/guards keep the allocation alive until their last owner is dropped.
- Bytes
Write Guard - Owned exclusive range guard. Disjoint ranges can be borrowed independently, even when a memory pool places multiple resources in the same allocation.
- Managed
Resource - Access to the underlying resource.
- Storage
Handle - Contains the storage id of a resource and the way it is used.
- Storage
Id - Storage ID.
- Storage
Utilization - Defines if data uses a full memory chunk or a slice of it.
Enums§
- Bytes
Access Error - Invalid storage lookup or conflicting safe access.
Traits§
- Compute
Storage - Storage types are responsible for allocating and deallocating memory.