Skip to main content

run_pva_server

Function run_pva_server 

Source
pub async fn run_pva_server<S: PvStore>(
    store: Arc<S>,
    config: PvaServerConfig,
) -> Result<(), Box<dyn Error>>
Expand description

Run a PVA server (UDP search + TCP handler + beacon).

This function drives the three server tasks in a tokio::select! loop and returns when any task errors or the future is dropped.