persistcli::maelstrom::node

Function run

Source
pub fn run<R, W, S>(args: Args, read: R, write: W) -> Result<(), Error>
where R: BufRead, W: Write + Send + Sync + 'static, S: Service + 'static,
Expand description

Runs the RPC loop, accepting Maelstrom workload requests, issuing responses, and communicating with Maelstrom services.