Function wasmcloud_runtime::capability::wrpc::serve
source ยท pub fn serve<'a, T: Serve>(
wrpc: &'a T,
handler: impl Handler<T::Context> + Send + Sync + Clone + 'static,
) -> impl Future<Output = Result<Vec<(&'static str, &'static str, Pin<Box<dyn Stream<Item = Result<Pin<Box<dyn Future<Output = Result<()>> + Send + 'static>>>> + Send + 'static>>)>>> + Send + Captures<'a>