pub enum JobStatus {
Running,
Stopped,
}Expand description
Snapshot status for a running job (returned only via JobController’s
internal channels — currently exposed for completeness; the public API
uses abort_job / stop_job / resume_job directly).
Variants§
Running
The job loop is actively iterating (between sleeps and dispatches).
Stopped
The job loop is paused after a stop_job and waiting for resume_job.
Trait Implementations§
impl Copy for JobStatus
impl Eq for JobStatus
impl StructuralPartialEq for JobStatus
Auto Trait Implementations§
impl Freeze for JobStatus
impl RefUnwindSafe for JobStatus
impl Send for JobStatus
impl Sync for JobStatus
impl Unpin for JobStatus
impl UnsafeUnpin for JobStatus
impl UnwindSafe for JobStatus
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