Type Alias BoxedService

Source
pub type BoxedService<Request, Response> = Box<dyn Service<Request, Error = Box<dyn Error + Send + Sync>, Response = ServiceResponse<Response>, Future = Pin<Box<dyn Future<Output = Result<ServiceResponse<Response>, Box<dyn Error + Send + Sync>>> + Send>>> + Send + Sync>;
Expand description

A boxed dynamic type for multilink services. The service must return a result with a ServiceResponse or ServiceError.

Aliased Typeยง

struct BoxedService<Request, Response>(/* private fields */);