AsyncService

Trait AsyncService 

Source
pub trait AsyncService<I, O> {
    // Required method
    fn endpoints(
        &self,
        runtime: &Arc<ConjureRuntime>,
    ) -> Vec<BoxAsyncEndpoint<'static, I, O>>;
}
Expand description

An async Conjure service.

Required Methods§

Source

fn endpoints( &self, runtime: &Arc<ConjureRuntime>, ) -> Vec<BoxAsyncEndpoint<'static, I, O>>

Returns the endpoints in the service.

Implementors§