pub struct JobInfo {
pub id: String,
pub state: String,
pub address: Option<String>,
pub error: Option<String>,
pub stderr_size: Option<u64>,
}Expand description
One job of an operation, as list_jobs reports it.
A subset of the cluster’s TJob: the fields needed to name a job and say
why it failed.
Fields§
§id: StringJob ID, in the form Client::get_job_stderr expects.
state: StringJob state: failed, completed, running, aborted, …
address: Option<String>The exec node that ran it, as host:port.
error: Option<String>The error that ended the job, flattened to one line.
stderr_size: Option<u64>How much stderr the cluster says it saved.
A hint, not a fact: a local cluster reported 1 for a job whose stderr
was several hundred bytes, so this is not a length to size anything by.
None means the field was absent.
Trait Implementations§
impl Eq for JobInfo
impl StructuralPartialEq for JobInfo
Auto Trait Implementations§
impl Freeze for JobInfo
impl RefUnwindSafe for JobInfo
impl Send for JobInfo
impl Sync for JobInfo
impl Unpin for JobInfo
impl UnsafeUnpin for JobInfo
impl UnwindSafe for JobInfo
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more