# Module std::alloc::failure_handling

source ·
🔬This is a nightly-only experimental API. (`allocator_api` #32838)
Expand description

TBD

## Structs

- Fallible Experimental
  Handle allocation failure falliblyby returning a `Result`.
- Fatal Experimental
  Handle allocation failure globally by panicking / aborting.

## Traits

- FailureHandling Experimental
  Describes the handling behavior in case of allocation failure.

## Type Aliases

- DefaultFailureHandling Experimental
  Type parameter default `FailureHandling` for use in containers.