Expand description
Shared byte allowances with reservations that follow allocation ownership.
Owners reserve requested buffer layouts before allocating. Allocator bookkeeping, borrowed data, and separately owned immutable resources are outside this allowance.
Structs§
- Budgeted
- An immutable result and its owned allocations. Cloning the value is a separate allocation.
- Budgeted
Deque - Budgeted
String - Budgeted
Vec - Memory
Budget - Clones share one allowance, including reservations retained by completed producers.
- Memory
Reservation - A unique lease: release it only after the associated allocation has been freed.