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 boxed(self) -> BoxedLifecycle
   where
        Self: Sized
, { ... } }

Required Associated Types

Required Methods

Provided Methods

Implementors