Skip to main content

serve

Function serve 

Source
pub(super) async fn serve<'a>(
    router: &Router,
    handle: &Handle<SocketAddr>,
    listeners: impl Iterator<Item = UnixListener>,
    path: Option<&Path>,
    socket_perms: u32,
) -> Result<Vec<BoxFuture<'a, Result<(), Error>>>>