Skip to main content

Module error

Module error 

Source
Expand description

VmemError — the failure cause carried by the try_* API.

Every fallible entry point (crate::try_reserve_aligned, crate::try_recommit, …) returns Result<_, VmemError>. The error either carries the raw OS error code (errno on Unix, GetLastError on Windows) captured at the point of failure, or a sentinel for a caller contract violation (bad size/align) that never reached the OS.

Structs§

VmemError
The cause of a virtual-memory operation failure.