Crate actix_service[][src]

Expand description

See Service docs for information on this crate’s foundational trait.

Modules

Structs

Pipeline service - pipeline allows to compose multiple service into one service.

Pipeline factory

Traits

Trait for types that can be converted to a Service

Trait for types that can be converted to a ServiceFactory

An asynchronous operation from Request to a Response.

Factory for creating Services.

The Transform trait defines the interface of a service factory that wraps inner service during construction.

Functions

Apply transform to a service.

Convert Fn(Config, &mut Service1) -> Future<Service2> fn to a service factory

Convert Fn(Config, &mut Service1) -> Future<Service2> fn to a service factory

Apply tranform function to a service.

Service factory that prodices apply_fn service.

Create ServiceFactory for function that can produce services

Create ServiceFactory for function that accepts config argument and can produce services

Create ServiceFactory for function that can act as a Service

Convert object of type T to a service S

Adapt external config argument to a config for provided service factory

Contruct new pipeline with one service in pipeline chain.

Contruct new pipeline factory with one service factory.

Replace config with unit