Function std::alloc::take_oom_hook [−][src]
pub fn take_oom_hook() -> fn(_: Layout)
Unregisters the current OOM hook, returning it.
See also the function set_oom_hook.
If no custom hook is registered, the default hook will be returned.