pub struct Worker { /* private fields */ }
Expand description
Represents an individual worker for monitoring
Implementations§
Source§impl Worker
impl Worker
Sourcepub fn status(&self) -> &WorkerStatus
pub fn status(&self) -> &WorkerStatus
Returns the current status of this worker.
Sourcepub fn set_status(&mut self, status: WorkerStatus)
pub fn set_status(&mut self, status: WorkerStatus)
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