[][src]Function grin_p2p::msg::write_message

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