pub fn generate_mem_chans(&mut self) {
        let (tx, rx) = channel::<Box<dyn NetworkPacket + Send>>();

        self.tx = Some(tx);
        self.rx = Some(rx);
    }
/// Generates the required memory channels for core.
/// Basically, instantiates Receiving and Sending channel of the Core.
Generates the required memory channels for core.
Basically, instantiates Receiving and Sending channel of the Core.
Generates the required memory channels for core . Basically instantiates Receiving and Sending channel of the Core .
pub fn generate_mem_chans(&mut self) {
        let (tx, rx) = channel::<Box<dyn NetworkPacket + Send>>();
        self.tx = Some(tx);
        self.rx = Some(rx);
    }
pub fn generate_mem_chans ( & mut self ) { let ( tx , rx ) = channel :: < Box < dyn NetworkPacket + Send > > ( ) ; self . tx = Some ( tx ) ; self . rx = Some ( rx ) ; }
Generates the required memory channels for core.
Generates the required memory channels for core .
&mut self
&mut self