pub struct RendererHealth {
pub configured_workers: usize,
pub ready_workers: usize,
pub active_requests: usize,
pub rendered_requests: u64,
pub failures: u64,
pub restarts: u64,
pub timeouts: u64,
pub shutting_down: bool,
}Fields§
§configured_workers: usize§ready_workers: usize§active_requests: usize§rendered_requests: u64§failures: u64§restarts: u64§timeouts: u64§shutting_down: boolImplementations§
Source§impl RendererHealth
impl RendererHealth
Sourcepub fn record_metrics(&self, metrics: &Metrics)
pub fn record_metrics(&self, metrics: &Metrics)
Copy this point-in-time health snapshot into the shared metrics registry.
Trait Implementations§
Source§impl Clone for RendererHealth
impl Clone for RendererHealth
Source§impl Debug for RendererHealth
impl Debug for RendererHealth
impl Eq for RendererHealth
Source§impl PartialEq for RendererHealth
impl PartialEq for RendererHealth
impl StructuralPartialEq for RendererHealth
Auto Trait Implementations§
impl Freeze for RendererHealth
impl RefUnwindSafe for RendererHealth
impl Send for RendererHealth
impl Sync for RendererHealth
impl Unpin for RendererHealth
impl UnsafeUnpin for RendererHealth
impl UnwindSafe for RendererHealth
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.