Struct slurm::StepRecord [] [src]

pub struct StepRecord(_);

Accounting information about a step within a job.

The following items in the Slurm API are not exposed in these Rust bindings:

This example is not tested
pub struct slurmdb_step_rec_t {
    pub job_ptr: *mut slurmdb_job_rec_t,
    pub nnodes: u32,
    pub ntasks: u32,
    pub pid_str: *mut c_char,
    pub req_cpufreq_min: u32,
    pub req_cpufreq_max: u32,
    pub req_cpufreq_gov: u32,
    pub task_dist: u32,
}

(The above listing omits fields that would be handled by the JobStepRecordSharedFields trait.)

Methods

impl StepRecord
[src]

[src]

Get the step's ID.

[src]

Get the step's name.

Trait Implementations

impl Debug for StepRecord
[src]

[src]

Formats the value using the given formatter. Read more

impl UnownedFromSlurmPointer for StepRecord
[src]

[src]

Create an unowned wrapper object from a Slurm pointer.

impl JobStepRecordSharedFields for StepRecord
[src]

[src]

Get the job/step's end time, or None if it has not yet ended.

[src]

Get the job/step's exit code, or None if it has not yet ended.

[src]

Get the maximum "virtual memory size" of the job/step, in kibibytes. Read more

[src]

Get the job/step's start time, or None if it has not yet started.

[src]

Get the job/step's state.

[src]

Get the wallclock time taken by the job/step: end time minus start time. Read more

Auto Trait Implementations

impl !Send for StepRecord

impl !Sync for StepRecord