Skip to main content

Constants for the fields of the /show/proc/status response.

Option fields

output

Constants for output.

pub const STDERR: &str = “stderr”;

Output lines from stderr.

pub const STDOUT: &str = “stdout”;

Output lines from stdout.

overall_statuses

Constants for overall_statuses.

pub const COMPLETE: &str = “complete”;

The proc instance completed with no errors.

pub const ERROR: &str = “error”;

The proc instance failed with an error.

pub const KILLED: &str = “killed”;

The proc instance was killed before completion.

pub const NONE: &str = “none”;

The proc instance does not have a status, i.e. it has not yet ran.

pub const RUNNING: &str = “running”;

The proc instance is currently running.

statuses

Constants for statuses.

pub const COMPLETE: &str = “complete”;

The proc instance completed with no errors.

pub const ERROR: &str = “error”;

The proc instance failed with an error.

pub const KILLED: &str = “killed”;

The proc instance was killed before completion.

pub const NONE: &str = “none”;

The proc instance does not have a status, i.e. it has not yet ran.

pub const RUNNING: &str = “running”;

The proc instance is currently running.