/// Swaps out current process with a new process. Returns the old process.
Swaps out current process with a new process. Returns the old process.
Swaps out current process with a new process . Returns the old process .
pub fn swap_current_executor(
        &mut self,
        new_executor: Box<Ring3Executor>,
    ) -> Option<Box<Ring3Executor>> {
        self.current_executor.replace(new_executor)
    }
pub fn swap_current_executor ( & mut self , new_executor : Box < Ring3Executor > , ) -> Option < Box < Ring3Executor > > { self . current_executor . replace ( new_executor ) }
Swaps out current process with a new process.
Swaps out current process with a new process .
&mut self
new_executor
Box<Ring3Executor>