pub trait Service<D = ()>: Actor {
    type Error: From<RegistryError>;

    fn create<'life0, 'async_trait>(
        registry: &'life0 mut RegistryRef<D>
    ) -> Pin<Box<dyn Future<Output = Result<Self, Self::Error>> + Send + 'async_trait>>
    where
        'life0: 'async_trait,
        Self: 'async_trait
; }

Required Associated Types

Required Methods

Implementors