struct Worker {
id: usize,
storage: Arc<Storage>,
scheduler: Arc<Scheduler>,
registry: Arc<NodeRegistry>,
running: Arc<Mutex<bool>>,
python_manager: Arc<Mutex<Option<Arc<PythonManager>>>>,
}Fields§
§id: usize§storage: Arc<Storage>§scheduler: Arc<Scheduler>§registry: Arc<NodeRegistry>§running: Arc<Mutex<bool>>§python_manager: Arc<Mutex<Option<Arc<PythonManager>>>>Implementations§
Auto Trait Implementations§
impl Freeze for Worker
impl !RefUnwindSafe for Worker
impl Send for Worker
impl Sync for Worker
impl Unpin for Worker
impl !UnwindSafe for Worker
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