rs.status (278B)
1 } 2 3 impl ErrorCode { 4 /// The numeric value, as sent in the `code` field. 5 pub fn value(self) -> u32 { 6 self as u32 7 } 8 9 /// The HTTP status code this error is returned with. 10 pub fn status_code(self) -> u16 { 11 use ErrorCode::*; 12 match self {