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