pub trait Runnable: Send + 'static {
// Required method
fn run<'async_trait>(
self,
exit: Receiver<()>
) -> Pin<Box<dyn Future<Output = ()> + Send + 'async_trait>>
where Self: 'async_trait;
}
pub trait Runnable: Send + 'static {
// Required method
fn run<'async_trait>(
self,
exit: Receiver<()>
) -> Pin<Box<dyn Future<Output = ()> + Send + 'async_trait>>
where Self: 'async_trait;
}