Skip to main content

install_test_context_in

Function install_test_context_in 

Source
pub fn install_test_context_in(
    context: &RuntimeContext,
    active: ActiveTestContext,
    limits: ProtocolLimits,
) -> TestContextGuard
Expand description

Install lifecycle state into a specific session-owned runtime context.

Hosts that are about to enter a known context must use this form so the lifecycle state follows the invocation instead of relying on the legacy ambient stack.