Skip to main content

scope

Function scope 

Source
pub fn scope<'env, F, R>(f: F) -> R
where F: for<'scope> FnOnce(&'scope Scope<'scope, 'env>) -> R,
Expand description

Scope-based thread spawning (safe scoped threads)