pub fn sender_take(&mut self) -> Sender<Box<dyn NetworkPacket + Send>> {
        if let None = self.tx {
            panic!(Core::static_log(
                "Cannot take Sender from core; Sender not present in core's memory channel."
            ));
        }

        self.tx.take().unwrap()
    }
/// Moves the sending end of the core out of it.
///
/// # Panics
///
/// Panics if sender is already taken or not instantiated.
Moves the sending end of the core out of it.
Moves the sending end of the core out of it .
pub fn sender_take(&mut self) -> Sender<Box<dyn NetworkPacket + Send>> {
        if let None = self.tx {
            panic!(Core::static_log(
                "Cannot take Sender from core; Sender not present in core's memory channel."
            ));
        }
        self.tx.take().unwrap()
    }
pub fn sender_take ( & mut self ) -> Sender < Box < dyn NetworkPacket + Send > > { if let None = self . tx { panic ! ( Core static_log ( " " ) ) ; } self . tx . take ( ) . unwrap ( ) }
Moves the sending end of the core out of it.
Moves the sending end of the core out of it .
&mut self
&mut self
panics
Panics if sender is already taken or not instantiated.
Panics if sender is already taken or not instantiated .