Skip to main content

SpawnFuture

Type Alias SpawnFuture 

Source
pub type SpawnFuture = Pin<Box<dyn Future<Output = Result<(JoinHandle<isize>, TaskIdentifier), Status>>>>;
Expand description

The result of starting a child: its join handle, which carries its exit status, and its task identifier, which is the child’s process identifier.

Aliased Type§

pub struct SpawnFuture { /* private fields */ }