Enum actix_web::middleware::Response [−][src]
pub enum Response { Done(HttpResponse), Future(Box<Future<Item = HttpResponse, Error = Error>>), }
Middleware execution result
Variants
Done(HttpResponse)
New http response got generated
Future(Box<Future<Item = HttpResponse, Error = Error>>)
Result is a future that resolves to a new http response