Struct strymon_model::config::job::Process [] [src]

pub struct Process {
    pub job_id: JobId,
    pub index: usize,
    pub addrs: Vec<String>,
    pub threads: usize,
    pub coord: String,
    pub hostname: String,
}

The configuration of a job processes.

This is typically passed down to the spawned process by the executor.

Fields

Job this process belongs to

Index of this process (worker group)

Addresses of all worker groups of this same job

Number of thread this process hosts

Address of the Strymon coordinator

Externally reachable hostname

Methods

impl Process
[src]

[src]

Decodes the process configuration from the environment, i.e. using std::env::var.

[src]

Encodes the process configuration into key-value pairs.

Suitable for use with builders such as Command::envs.

Trait Implementations

impl Clone for Process
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Debug for Process
[src]

[src]

Formats the value using the given formatter. Read more

impl PartialEq for Process
[src]

[src]

This method tests for self and other values to be equal, and is used by ==. Read more

[src]

This method tests for !=.

impl Eq for Process
[src]