Enum actix_web::middleware::Started[][src]

pub enum Started {
    Done,
    Response(HttpResponse),
    Future(Box<Future<Item = Option<HttpResponse>, Error = Error>>),
}

Middleware start result

Variants

Middleware is completed, continue to next middleware

New http response got generated. If middleware generates response handler execution halts.

Execution completed, runs future to completion.

Auto Trait Implementations

impl !Send for Started

impl !Sync for Started