Skip to main content

enter_scope_with

Function enter_scope_with 

pub fn enter_scope_with(
    extensions: &Extensions,
    own: &WeakScope,
) -> Result<Scope, ScopeClosed>
Available on crate feature std only.
Expand description

Like enter_scope, with the new scope also below own (see Scope::child_of), such as the scope of the server that serves the input.

§Errors

ScopeClosed once the scope the input runs in, or own, is closed.