Skip to main content

serve_bound

Function serve_bound 

Source
pub async fn serve_bound(
    listener: UnixListener,
    opts: ServeOptions,
    controller: Arc<RuntimeApiController>,
) -> Result<()>
Expand description

Serve the API on an already-bound Unix listener until the future is dropped.

ยงErrors

Returns an error if the underlying axum service errors.