Skip to main content

ExecutionRuntime

Trait ExecutionRuntime 

Source
pub trait ExecutionRuntime: Send + Sync {
    // Required method
    fn start<'a>(
        &'a self,
        artifact: PreparedArtifact,
        control: RunControl,
    ) -> PortFuture<'a, StartOutcome>;
}

Required Methods§

Source

fn start<'a>( &'a self, artifact: PreparedArtifact, control: RunControl, ) -> PortFuture<'a, StartOutcome>

An outer error guarantees no process remains owned. Otherwise return a ready session or a cleanup handle that must continue occupying pool capacity.

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§