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§
Sourcefn endpoints(
&self,
runtime: &Arc<ConjureRuntime>,
) -> Vec<BoxAsyncEndpoint<'static, I, O>>
fn endpoints( &self, runtime: &Arc<ConjureRuntime>, ) -> Vec<BoxAsyncEndpoint<'static, I, O>>
Returns the endpoints in the service.