Module walloc::mem

source ·

Structs

Memory is a struct that represents a block of memory. The memory is filled with 0xFF bytes (all bits set to 1). It does nothing other than take up a specified amount of memory. It can be used to simulate large amounts of memory utilization.

Enums

MemoryError is an error type that is returned by all Memory methods. It is used to indicate that a memory allocation request was denied by the system, or that a conversion from a larger unit to bytes caused an overflow.