pub async fn serve<H, P>(path: P, handler: H) -> IpcResult<()>Expand description
Bind a UnixListener at path and serve newline-delimited JSON-RPC until
the listener is dropped. Each connection is authenticated via peer_cred
and dispatched through handler (PRODUCT.md A.3/A.4/B.4).