pub async fn run_tcp_server<S: PvStore>(
state: Arc<ServerState<S>>,
addr: SocketAddr,
conn_timeout: Duration,
) -> Result<(), Box<dyn Error>>Expand description
Accept TCP connections and spawn a handler for each.
pub async fn run_tcp_server<S: PvStore>(
state: Arc<ServerState<S>>,
addr: SocketAddr,
conn_timeout: Duration,
) -> Result<(), Box<dyn Error>>Accept TCP connections and spawn a handler for each.