Crate actix_service
source · [−]Expand description
See Service docs for information on this crate’s foundational trait.
Modules
Trait object forms of services and service factories.
Macros
An implementation of poll_ready that always signals readiness.
An implementation of poll_ready that forwards readiness checks to a
named struct field.
Structs
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.
An extension trait for Services that provides a variety of convenient adapters.
Factory for creating Services.
An extension trait for ServiceFactorys that provides a variety of convenient adapters.
Defines the interface of a service factory that wraps inner service during construction.
An extension trait for Transforms that provides a variety of convenient adapters.
Functions
Convert Fn(Config, &Service1) -> Future<Service2> fn to a service factory.
Convert Fn(Config, &ServiceFactory1) -> Future<ServiceFactory2> fn to a service factory.
Apply transform function to a service.
Service factory that produces 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 U to a service S
Adapt external config argument to a config for provided service factory
Replace config with unit.
