Skip to main content

ensure_stack

Function ensure_stack 

Source
pub fn ensure_stack<R>(f: impl FnOnce() -> R) -> R
Expand description

Runs f, continuing on a heap-allocated stack segment when the current one is nearly exhausted.