pub enum WorkerCommand {
Cancel,
Pause,
Resume,
Custom(String),
}Expand description
Commands from UI to worker
Variants§
Trait Implementations§
Source§impl Clone for WorkerCommand
impl Clone for WorkerCommand
Source§fn clone(&self) -> WorkerCommand
fn clone(&self) -> WorkerCommand
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 WorkerCommand
impl RefUnwindSafe for WorkerCommand
impl Send for WorkerCommand
impl Sync for WorkerCommand
impl Unpin for WorkerCommand
impl UnsafeUnpin for WorkerCommand
impl UnwindSafe for WorkerCommand
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