pub struct JobEvent {
pub work: i32,
pub citizen: usize,
pub param: i32,
pub complete: bool,
}Expand description
A CompleteTask’s report: complete (start) or failed (abort).
Fields§
§work: i32The work.
citizen: usizeThe citizen.
param: i32The task’s parameter.
complete: boolWhether the task completed (else it was aborted).
Trait Implementations§
impl Copy for JobEvent
impl Eq for JobEvent
impl StructuralPartialEq for JobEvent
Auto Trait Implementations§
impl Freeze for JobEvent
impl RefUnwindSafe for JobEvent
impl Send for JobEvent
impl Sync for JobEvent
impl Unpin for JobEvent
impl UnsafeUnpin for JobEvent
impl UnwindSafe for JobEvent
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