Function swap::controller::handle_enable_command

source ·
fn handle_enable_command<'scope>(
    state: State<'_>,
    bg_job_control: &BackgroundJobControl,
    page_handler: &PageHandler<'_>,
    guest_memory: &GuestMemory,
    worker: &Worker<MoveToStaging>,
    state_transition: &Mutex<SwapStateTransition>,
) -> Result<State<'scope>>