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
; fn concrete<'async_trait>(
        self
    ) -> Pin<Box<dyn Future<Output = ConcreteLifecycle> + Send + 'async_trait>>
    where
        Self: Sized,
        Self: 'async_trait
, { ... } }

Required Associated Types

Required Methods

Provided Methods

Implementors