Skip to main content

scope_identity

Function scope_identity 

Source
pub async fn scope_identity<F: Future>(
    identity: Identity,
    future: F,
) -> F::Output
Expand description

with_identity for async code: future runs as identity.