macro_rules! run_config { ($($port_descriptor:expr),+ $(,)?) => { ... }; }
Expand description
Creates a RunConfig
from PortDescriptor
s.
This allows you to configure the RunConfig
and then RunConfig::execute
the server.
ยงExamples
let server = run_config!(port1, port2);