pub fn push_process(&mut self, conn_id: usize, process: Process) {
        self.client_processes
            .entry(conn_id)
            .or_insert_with(Vec::new)
            .push(process.id);
        self.processes.insert(process.id, process);
    }
/// Pushes a new process associated with a connection
Pushes a new process associated with a connection
Pushes a new process associated with a connection
pub fn push_process(&mut self, conn_id: usize, process: Process) {
        self.client_processes
            .entry(conn_id)
            .or_insert_with(Vec::new)
            .push(process.id);
        self.processes.insert(process.id, process);
    }
pub fn push_process ( & mut self , conn_id : usize , process : Process ) { self . client_processes . entry ( conn_id ) . or_insert_with ( Vec :: new ) . push ( process . id ) ; self . processes . insert ( process . id , process ) ; }
Pushes a new process associated with a connection
Pushes a new process associated with a connection
&mut self
conn_id
usize
process
Process