Skip to main content

Module memory

Module memory 

Source
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.
BudgetedDeque
BudgetedString
BudgetedVec
MemoryBudget
Clones share one allowance, including reservations retained by completed producers.
MemoryReservation
A unique lease: release it only after the associated allocation has been freed.

Enums§

MemoryError