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

pub trait Register {
    type Error;
    fn register(
        &mut self,
        s: &mut ServiceHandle
    ) -> FutureResult<(), Self::Error>; }

Producer API trait used to register an existing service

Associated Types

type Error

Loading content...

Required methods

fn register(&mut self, s: &mut ServiceHandle) -> FutureResult<(), Self::Error>

Register a service in the distributed database

Loading content...

Implementors

Loading content...