Function write_response

fn write_response<T, impl io::Write: io::Write>(w: impl Write, response: &Response<T>) -> Result<()>

Write response to the stream w.