Enum timely::Configuration []

pub enum Configuration {
    Thread,
    Process(usize),
    Cluster(usizeusizeVec<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(usizeusizeVec<String>, bool)

Expect multiple processes indicated by (threads, process, host_list, report).

Methods

impl Configuration

fn from_args<I>(args: I) -> Result<ConfigurationString> where I: Iterator<Item=String>

Constructs a new configuration by parsing supplied text arguments.

Most commonly, this uses std::env::Args() as the supplied iterator.