send_msg

Function send_msg 

Source
pub async fn send_msg(
    stream: &mut &TcpStream,
    packet_as_bytes: Vec<u8>,
) -> Result<(), Box<dyn Error>>
Expand description

Send a GenericMsg of MsgType from the Node to the Host