pub struct WorkerLoad {
pub sampled_at: Instant,
pub running: u64,
pub waiting: u64,
}Expand description
Running and waiting gauges from one worker scrape.
Fields§
§sampled_at: InstantLocal monotonic time at the start of collection.
running: u64Backend requests currently executing.
waiting: u64Backend requests waiting for execution capacity.
Trait Implementations§
Source§impl Clone for WorkerLoad
impl Clone for WorkerLoad
Source§fn clone(&self) -> WorkerLoad
fn clone(&self) -> WorkerLoad
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 WorkerLoad
impl RefUnwindSafe for WorkerLoad
impl Send for WorkerLoad
impl Sync for WorkerLoad
impl Unpin for WorkerLoad
impl UnsafeUnpin for WorkerLoad
impl UnwindSafe for WorkerLoad
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