Skip to main content

serve

Function serve 

Source
pub async fn serve<S>(
    listener: UnixListener,
    controller: InMemoryController,
    shutdown: S,
) -> Result<()>
where S: Future<Output = ()> + Send,