1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18
use std::future::Future;
use std::pin::Pin;
pub type BoxedFuture<'a, T> = Pin<Box<dyn Future<Output = T> + Send + Sync + 'a>>;
pub type StaticBoxedFuture<T> = BoxedFuture<'static, T>;
pub mod util;
pub mod start_child;
pub use start_child::{InitType, StartChild, StartChildError};
pub mod args_factory;
pub use args_factory::ArgsFactory;
mod stop_child;
pub mod produce_child;
pub use produce_child::ProduceChild;