Function rocket::mtls::oid::asn1_rs::nom::lib::std::alloc::take_alloc_error_hook

source ·
pub fn take_alloc_error_hook() -> fn(_: Layout)
🔬This is a nightly-only experimental API. (alloc_error_hook)
Available on crate feature mtls only.
Expand description

Unregisters the current allocation error hook, returning it.

See also the function set_alloc_error_hook.

If no custom hook is registered, the default hook will be returned.