Skip to main content

RemoteComputationFuture

Type Alias RemoteComputationFuture 

Source
pub type RemoteComputationFuture = Pin<Box<dyn Future<Output = Result<RemoteOutcome, RemoteError>> + Send + 'static>>;
Expand description

Caller-owned future produced by a registered remote computation.

The registry never spawns this future. The service connection or scope that awaits RemoteComputationRegistry::dispatch therefore remains its structured owner, and dropping that owner drops the computation future.

Aliased Typeยง

#[repr(transparent)]
pub struct RemoteComputationFuture { /* private fields */ }