pub type Result = Result<Response, Error>;
The output of the Future returned from middleware.
Future
enum Result { Ok(Response), Err(Error), }
Contains the success value
Contains the error value