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
type Error: From<RegistryError>
[src]
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]
#[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,