Macro kvarn::run_config

source ·
macro_rules! run_config {
    ($($port_descriptor:expr),+ $(,)?) => { ... };
}
Expand description

Creates a RunConfig from PortDescriptors. This allows you to configure the RunConfig and then RunConfig::execute the server.

Examples

let server = run_config!(port1, port2);