Function ralloc::set_oom_handler [] [src]

pub fn set_oom_handler(handler: fn() -> !)

Set the OOM handler.

This is called when the process is out-of-memory.