Skip to main content

Register

Trait Register 

Source
pub trait Register {
    type Options;
    type Info;
    type Error;

    // Required method
    fn register(
        &mut self,
        options: Self::Options,
    ) -> Result<Self::Info, Self::Error>;
}
Expand description

Producer API trait used to register an existing service

Required Associated Types§

Required Methods§

Source

fn register( &mut self, options: Self::Options, ) -> Result<Self::Info, Self::Error>

Register a service in the distributed database

Implementors§