serve

Function serve 

Source
pub fn serve<A: ToSocketAddrs>(addr: A, cfg: WeightPeerConfig) -> Result<()>
Expand description

Serve staged models on addr until interrupted. One thread per connection; blocking. Intended to run as its own process (atlas-weight-peer).