Struct slurm::SubmitResponseMessageOwned
[−]
[src]
pub struct SubmitResponseMessageOwned(_);
An owned version of SubmitResponseMessage
.
Methods from Deref<Target = SubmitResponseMessage>
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 SubmitResponseMessageOwned
[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more
impl Deref for SubmitResponseMessageOwned
[src]
type Target = SubmitResponseMessage
The resulting type after dereferencing.
fn deref(&self) -> &SubmitResponseMessage
[src]
Dereferences the value.
impl DerefMut for SubmitResponseMessageOwned
[src]
fn deref_mut(&mut self) -> &mut SubmitResponseMessage
[src]
Mutably dereferences the value.