Trait Create

Source
pub trait Create {
    type Options;
    type Error;

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

Creation API used to create services

Required Associated Types§

Required Methods§

Source

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

Create a new service with the provided options

Implementors§