Trait limiting_factor::api::replies::FailureResponse
source · pub trait FailureResponse {
// Required method
fn into_failure_response(self) -> Status;
}
Expand description
This trait allows to consume an object into an HTTP failure response.
Required Methods§
sourcefn into_failure_response(self) -> Status
fn into_failure_response(self) -> Status
Consumes the variable and creates a Failure response .