Struct rollbar::ResponseStatus
[−]
[src]
pub struct ResponseStatus(_);
Wrapper for hyper::status::StatusCode
.
Methods
impl ResponseStatus
[src]
fn description(&self) -> &str
Return a description provided by Rollbar for the status code returned by each request.
fn canonical_reason(&self) -> String
Return the canonical description for the status code returned by each request.
Trait Implementations
impl Debug for ResponseStatus
[src]
impl From<StatusCode> for ResponseStatus
[src]
fn from(status_code: StatusCode) -> ResponseStatus
Performs the conversion.