Struct slurm::SubmitResponseMessage
[−]
[src]
pub struct SubmitResponseMessage(_);
Information returned by Slurm upon job submission.
Methods
impl SubmitResponseMessage
[src]
pub fn job_id(&self) -> JobId
[src]
Get the job ID of the new job.
XXX: It looks like it is possible to have a non-zero error_code
with
a non-zero job ID; I'm not sure in what cases that occurs.
pub fn step_id(&self) -> StepId
[src]
Get the job-step ID of the new job.
XXX: It looks like it is possible to have a non-zero error_code
with
a non-zero job ID; I'm not sure in what cases that occurs.
pub fn error_code(&self) -> u32
[src]
Get the error code returned by the server.
pub fn user_message(&self) -> Cow<str>
[src]
Get the "user message" returned by the server.
I think this is arbitrary text that should be shown to the user?
This feature is not available in older versions of Slurm. (TBD: quantify).
Trait Implementations
impl Debug for SubmitResponseMessage
[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more
impl UnownedFromSlurmPointer for SubmitResponseMessage
[src]
fn unowned_from_slurm_pointer(ptr: *mut c_void) -> Self
[src]
Create an unowned wrapper object from a Slurm pointer.