Enum timely::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>(args: I) -> Result<Configuration, String> where
I: Iterator<Item = String>,
[src]
I: Iterator<Item = String>,
Constructs a new configuration by parsing supplied text arguments.
Most commonly, this uses std::env::Args()
as the supplied iterator.