pub async fn serve_async_concurrent<S, H>(
stream: S,
limit: impl Into<Option<usize>>,
handler: H,
) -> Result<(), Error>
Expand description
Serves all requests on stream
concurrently using handler
.
Stops and returns an error if a FIDL error occurs while reading a request,
or if handler
fails. The caller should log this error.