Trait flo_state::registry::Service[][src]

pub trait Service<D = ()>: Actor {
    type Error: From<RegistryError>;
    #[must_use]
    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
; }

Associated Types

Loading content...

Required methods

#[must_use]
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, 
[src]

Loading content...

Implementors

Loading content...