Enum

std::heap::AllocError

source

Re-exported from alloc::heap::AllocError.

exposed enum AllocError {
    OutOfMemory,
}

Allocation failure, as a value. Storage::try_alloc/try_grow are the only producers. Not linear: an error code is Copy data, and the aborting wrappers below drop it.