Struct actix_net::inflight::InFlight[][src]

pub struct InFlight<T> { /* fields omitted */ }

InFlight - new service for service that can limit number of in-flight async requests.

Default number of in-flight requests is 15

Methods

impl<T> InFlight<T> where
    T: NewService
[src]

Set max number of in-flight requests.

By default max in-flight requests is 15.

Trait Implementations

impl<T> NewService for InFlight<T> where
    T: NewService
[src]

Requests handled by the service

Responses given by the service

Errors produced by the service

Errors produced while building a service.

The Service value created by this factory

The future of the Service instance.

Create and return a new service value asynchronously.

Auto Trait Implementations

impl<T> Send for InFlight<T> where
    T: Send

impl<T> Sync for InFlight<T> where
    T: Sync