1 2 3 4 5
use crate::node::Msg; use std::future::Future; use std::pin::Pin; pub type Task = Pin<Box<dyn Future<Output = Vec<Msg>>>>;