Skip to main content

run

Function run 

Source
pub fn run(config: ServeConfig, on_ready: impl FnOnce(SocketAddr)) -> Result<()>
Expand description

Open the store, apply the bind rules, and serve until interrupted. on_ready receives the bound address once the server accepts connections.