pub fn add_process<P>(&mut self, process: P) -> ProcessIndex
    where
        P: Process<Fault = Fault> + 'static,
    {
        self.processes.insert(Box::new(process))
    }
/// Add a process to the list of processes this [`Runtime`] will look after.
Add a process to the list of processes this [`Runtime`] will look after.
Add a process to the list of processes this [ ` Runtime ` ] will look after .
pub fn add_process<P>(&mut self, process: P) -> ProcessIndex
    where
        P: Process<Fault = Fault> + 'static,
    {
        self.processes.insert(Box::new(process))
    }
pub fn add_process < P > ( & mut self , process : P ) -> ProcessIndex where P : Process < Fault = Fault > + ' static , { self . processes . insert ( Box :: new ( process ) ) }
Add a process to the list of processes this [`Runtime`] will look after.
Add a process to the list of processes this [ ` Runtime ` ] will look after .
&mut self
process
P
&mut self
process
P