MCPcopy Create free account
hub / github.com/It4innovations/hyperqueue / get_worker

Method get_worker

crates/hyperqueue/src/server/state.rs:105–107  ·  view source on GitHub ↗
(&self, worker_id: WorkerId)

Source from the content-addressed store, hash-verified

103 }
104
105 pub fn get_worker(&self, worker_id: WorkerId) -> Option<&Worker> {
106 self.workers.get(&worker_id)
107 }
108
109 pub fn get_worker_mut(&mut self, worker_id: WorkerId) -> Option<&mut Worker> {
110 self.workers.get_mut(&worker_id)

Callers 3

on_worker_overviewMethod · 0.45
handle_worker_stopFunction · 0.45
handle_worker_infoFunction · 0.45

Calls 1

getMethod · 0.45

Tested by

no test coverage detected