isothrum-runner 0.11.0

The Isothrum runner: executes the run manifest Isoloom writes next to a target's files (lifecycle, state and locks, drivers, checks, events).
Documentation
1
2
3
4
5
6
7
8
9
//! The boxed future the ports' object-safe methods return ([`ProcessRunner`](crate::ProcessRunner),
//! [`HostPorts`](crate::HostPorts), [`Hooks`](crate::Hooks)): an embedder implements them without
//! `async fn` in traits, and the runner holds them as `dyn` values shared between threads.

use std::future::Future;
use std::pin::Pin;

/// A boxed future that can be sent between threads.
pub type BoxFuture<'a, T> = Pin<Box<dyn Future<Output = T> + Send + 'a>>;