Skip to main content

task_scope_remove

Function task_scope_remove 

Source
pub fn task_scope_remove(uuid: &Uuid) -> Result<ScopeHandle>
Expand description

Remove a scope handle from the active stack.

§Parameters

  • uuid: UUID of the scope expected to be at the top of the active stack.

§Returns

A Result containing the removed ScopeHandle.

§Errors

Propagates the same errors returned by ScopeStack::remove.