pub fn write_response<T>(w: impl Write, response: &Response<T>) -> Result<()>
Write response to the stream w.
response
w