grin_p2p::msg
pub fn write_message<T>( conn: &mut TcpStream, msg: T, msg_type: Type) -> Result<(), Error> where T: Writeable + 'static,