Enum actix_web::middleware::Started [−][src]
pub enum Started { Done, Response(HttpResponse), Future(Box<Future<Item = Option<HttpResponse>, Error = Error>>), }
Middleware start result
Variants
Done
Middleware is completed, continue to next middleware
Response(HttpResponse)
New http response got generated. If middleware generates response handler execution halts.
Future(Box<Future<Item = Option<HttpResponse>, Error = Error>>)
Execution completed, runs future to completion.