Struct slurm::JobDescriptorOwned [] [src]

pub struct JobDescriptorOwned(_);

An owned version of JobDescriptor.

Methods

impl JobDescriptorOwned
[src]

[src]

Create a new, defaulted job descriptor.

[src]

Specify the command-line arguments of the job.

[src]

Explicitly specify the UNIX environment of the job.

[src]

Set the UNIX environment of the job to match that of the current process.

This will panic if any environment variables are not decodable as Unicode. This limitation could be worked around with some developer effort.

[src]

Set this job's name.

[src]

Set this job's partition.

[src]

Set the contents of this job's wrapper shell script.

This is the textual content of a shell script that will be executed as the batch job wrapper. It should start with a shebang (#!) line.

[src]

Set the path that will be used as this job's standard error stream.

[src]

Set the path that will be used as this job's standard input stream.

[src]

Set the path that will be used as this job's standard output stream.

[src]

Set this job's working directory.

The working directory should be one that exists on all worker nodes of the cluster.

[src]

Set this job's working directory to the current process's current directory.

See std::env::current_dir for an explanation of the cases in which this operation can fail.

Methods from Deref<Target = JobDescriptor>

[src]

Get the group ID associated with this job.

[src]

Set the group ID associated with this job.

[src]

Set the group ID associated with this job to that of the current process.

[src]

Get this job's name.

[src]

Get the number of tasks within this job.

[src]

Set the number of tasks within this job.

[src]

Get this job's assigned partition.

[src]

Get the contents of this job's batch wrapper script.

[src]

Get the path for this job's standard error stream.

[src]

Get the path for this job's standard input stream.

[src]

Get the path for this job's standard output stream.

[src]

Get the time limit associated with this job, measured in minutes.

[src]

Set the time limit associated with this job.

The value is measured in minutes.

[src]

Get the user ID associated with this job.

[src]

Set the user ID associated with this job.

[src]

Set the user ID associated with this job to that of the current process.

[src]

Get the contents of this job's assigned working directory.

[src]

Submit this job to the batch processor.

TODO? Handle server-side errors reported in the response.

Trait Implementations

impl Debug for JobDescriptorOwned
[src]

[src]

Formats the value using the given formatter. Read more

impl Deref for JobDescriptorOwned
[src]

The resulting type after dereferencing.

[src]

Dereferences the value.

impl DerefMut for JobDescriptorOwned
[src]

[src]

Mutably dereferences the value.

impl Drop for JobDescriptorOwned
[src]

[src]

Executes the destructor for this type. Read more

Auto Trait Implementations