feat(http): Implement Debug for HttpReader/Writer.

Also derives it for Responses, since that's easy now.
This commit is contained in:
Brandon Sanderson
2015-04-08 17:51:18 -07:00
parent ad797b0200
commit 2f606c88bd
3 changed files with 26 additions and 0 deletions

View File

@@ -14,6 +14,7 @@ use version;
use HttpResult;
/// A response for a client request to a remote server.
#[derive(Debug)]
pub struct Response<S = HttpStream> {
/// The status from the server.
pub status: status::StatusCode,