Type Alias llmvm_protocol::BoxedService

source ·
pub type BoxedService<Request, Response> = Box<dyn Service<Request, Future = Pin<Box<dyn Future<Output = Result<ServiceResponse<Response>, Box<dyn Error + Sync + Send>>> + Send>>, Error = Box<dyn Error + Sync + Send>, Response = ServiceResponse<Response>> + Sync + Send>;
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 */);