enum WorkerCmd {
StartQueue {
index: usize,
queue: Queue,
},
StopQueue {
index: usize,
response_tx: Sender<Option<Queue>>,
},
AbortQueues {
response_tx: Sender<()>,
},
}Variants§
Auto Trait Implementations§
impl Freeze for WorkerCmd
impl !RefUnwindSafe for WorkerCmd
impl Send for WorkerCmd
impl Sync for WorkerCmd
impl Unpin for WorkerCmd
impl !UnwindSafe for WorkerCmd
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