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