Function revm::primitives::alloy_primitives::utils::box_try_new_uninit

source ยท
pub fn box_try_new_uninit<T>() -> Result<Box<MaybeUninit<T>>, TryReserveError>
Expand description

Constructs a new box with uninitialized contents on the heap, returning an error if the allocation fails.

Stable version of Box::try_new_uninit.