Enum timely_communication::initialize::Configuration
[−]
[src]
pub enum Configuration { Thread, Process(usize), Cluster(usize, usize, Vec<String>, bool), }
Possible configurations for the communication infrastructure.
Variants
Thread
Use one thread.
Process(usize)
Use one process with an indicated number of threads.
Cluster(usize, usize, Vec<String>, bool)
Expect multiple processes indicated by (threads, process, host_list, report)
.
Methods
impl Configuration
[src]
pub fn from_args<I: Iterator<Item = String>>(
args: I
) -> Result<Configuration, String>
[src]
args: I
) -> Result<Configuration, String>
Constructs a new configuration by parsing supplied text arguments.
Most commonly, this uses std::env::Args()
as the supplied iterator.