Function serve_on
pub async fn serve_on(
listener: TcpListener,
server: Arc<EnrollServer>,
cancel: CancellationToken,
) -> Result<()>Expand description
Run the enrollment endpoint on a pre-bound listener (used by tests so they can
bind 127.0.0.1:0 and learn the assigned port).