[][src]Trait dsf_core::api::Register

pub trait Register {
    type Options;
    type Info;
    type Error;
#[must_use]    fn register<'life0, 'async_trait>(
        &'life0 mut self,
        options: Self::Options
    ) -> Pin<Box<dyn Future<Output = Result<Self::Info, Self::Error>> + Send + 'async_trait>>
    where
        'life0: 'async_trait,
        Self: 'async_trait
; }

Producer API trait used to register an existing service

Associated Types

type Options

type Info

type Error

Loading content...

Required methods

#[must_use]fn register<'life0, 'async_trait>(
    &'life0 mut self,
    options: Self::Options
) -> Pin<Box<dyn Future<Output = Result<Self::Info, Self::Error>> + Send + 'async_trait>> where
    'life0: 'async_trait,
    Self: 'async_trait, 

Register a service in the distributed database

Loading content...

Implementors

Loading content...