feat(debug): add Debug impls for StatusClass, Server, and Listening

This commit is contained in:
Sean McArthur
2015-04-16 10:04:51 -07:00
parent 9a8ea4a267
commit 0fb92ee735
3 changed files with 10 additions and 2 deletions

View File

@@ -558,7 +558,7 @@ impl Ord for StatusCode {
///
/// This can be used in cases where a status codes meaning is unknown, also,
/// to get the appropriate *category* of status.
#[derive(Clone, PartialEq, Eq, PartialOrd, Ord, Copy)]
#[derive(Debug, Clone, PartialEq, Eq, PartialOrd, Ord, Copy)]
pub enum StatusClass {
/// 1xx (Informational): The request was received, continuing process
Informational,