pub enum State {
Completed,
Timeout,
Failed,
Cancelled,
Running,
Pending,
Other(String),
}Expand description
State, matched on the first whitespace-separated word of the field.
Data.
sacct appends a clause to some states — CANCELLED by 1001 — and the
clause is not part of the state.
Variants§
Completed
The job ran and finished within its limit.
Timeout
The job hit its wall-clock limit.
Failed
The job ran and exited with a failure.
Cancelled
The job was cancelled, by a user or the scheduler.
Running
The job is running now; its runtime is not final.
Pending
The job is queued and has not started.
Other(String)
Any other state, carried as printed.
Trait Implementations§
impl Eq for State
impl StructuralPartialEq for State
Auto Trait Implementations§
impl Forget for State
impl Freeze for State
impl Move for State
impl RefUnwindSafe for State
impl Send for State
impl Sync for State
impl Unpin for State
impl UnsafeUnpin for State
impl UnwindSafe for State
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