Enum actix_web::middleware::Response[][src]

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

Middleware execution result

Variants

New http response got generated

Result is a future that resolves to a new http response

Auto Trait Implementations

impl !Send for Response

impl !Sync for Response