Trait simple_life::Lifecycle
source · [−]pub trait Lifecycle: Send + 'static {
type S: Stop;
fn start<'async_trait>(
self
) -> Pin<Box<dyn Future<Output = Self::S> + Send + 'async_trait>>
where
Self: 'async_trait;
}