pub enum WorkbenchEvent {
JobStarted {
job_id: u64,
recipe_id: String,
},
JobCompleted {
job_id: u64,
results: Vec<(String, u32, u8)>,
},
JobFailed {
job_id: u64,
reason: String,
},
FuelEmpty,
RepairNeeded {
repair_cost: u64,
},
QueueFull,
}Variants§
Trait Implementations§
Source§impl Clone for WorkbenchEvent
impl Clone for WorkbenchEvent
Source§fn clone(&self) -> WorkbenchEvent
fn clone(&self) -> WorkbenchEvent
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for WorkbenchEvent
impl RefUnwindSafe for WorkbenchEvent
impl Send for WorkbenchEvent
impl Sync for WorkbenchEvent
impl Unpin for WorkbenchEvent
impl UnsafeUnpin for WorkbenchEvent
impl UnwindSafe for WorkbenchEvent
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