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.
pub fn run(config: ServeConfig, on_ready: impl FnOnce(SocketAddr)) -> Result<()>Open the store, apply the bind rules, and serve until interrupted.
on_ready receives the bound address once the server accepts
connections.