pub enum WorkerMessage {
Execute {
task: Arc<dyn ReactiveTask>,
context: TaskContext,
execution_policy: ExecutionPolicy,
scheduling_policy: SchedulingPolicy,
},
}Variants§
Execute
Fields
§
task: Arc<dyn ReactiveTask>§
context: TaskContext§
execution_policy: ExecutionPolicy§
scheduling_policy: SchedulingPolicyAuto Trait Implementations§
impl Freeze for WorkerMessage
impl !RefUnwindSafe for WorkerMessage
impl Send for WorkerMessage
impl Sync for WorkerMessage
impl Unpin for WorkerMessage
impl !UnwindSafe for WorkerMessage
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