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§

source

fn into_failure_response(self) -> Status

Consumes the variable and creates a Failure response .

Implementors§