menu
AllocationOutOfMemory
import { AllocationOutOfMemory } from "destack:memory";
Allocation failed because the runtime could not reserve enough memory.
1export struct AllocationOutOfMemory {2 kind: "outOfMemory";3 requestedBytes: usize;4 message: string;5}Members
kind: "outOfMemory"Discriminant for allocation failure matching.
requestedBytes: usizeRequested allocation size in bytes when known.
message: stringHuman-readable diagnostic detail.