Trait conjure_http::server::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§