grin_p2p::msg
pub fn write_all( conn: &mut dyn Write, buf: &[u8], timeout: Duration) -> Result<()>
Same as read_exact but for writing.
read_exact