Trait limiting_factor::api::replies::FailureResponse[][src]

pub trait FailureResponse {
    fn into_failure_response(self) -> Status;
}
Expand description

This trait allows to consume an object into an HTTP failure response.

Required methods

Consumes the variable and creates a Failure response .

Implementors