Function mz_server_core::serve

source ยท
pub async fn serve<S, C>(__arg0: ServeConfig<S, C>) -> JoinSet<()>
where S: Server, C: ConnectionStream,
Expand description

Serves incoming TCP connections.

Returns handles to the outstanding connections after the configured timeout has expired or all connections have completed.