Service

Trait Service 

Source
pub trait Service<I, O> {
    // Required method
    fn endpoints(
        &self,
        runtime: &Arc<ConjureRuntime>,
    ) -> Vec<Box<dyn Endpoint<I, O> + Sync + Send>>;
}
Expand description

A blocking Conjure service.

Required Methods§

Source

fn endpoints( &self, runtime: &Arc<ConjureRuntime>, ) -> Vec<Box<dyn Endpoint<I, O> + Sync + Send>>

Returns the endpoints in the service.

Implementors§