Type Alias ServiceFuture

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

A future that returns a result with a generic response and ServiceError. This is returned by service calls.

Aliased Typeยง

struct ServiceFuture<Response> { /* private fields */ }