pub struct WorkflowSupervisorMetrics { /* private fields */ }Expand description
Lock-free cumulative supervisor metrics suitable for polling by an exporter.
Implementations§
Source§impl WorkflowSupervisorMetrics
impl WorkflowSupervisorMetrics
Sourcepub fn snapshot(&self) -> WorkflowSupervisorMetricSnapshot
pub fn snapshot(&self) -> WorkflowSupervisorMetricSnapshot
Reads a consistent-enough operational snapshot without blocking workers.
Trait Implementations§
Source§impl Clone for WorkflowSupervisorMetrics
impl Clone for WorkflowSupervisorMetrics
Source§fn clone(&self) -> WorkflowSupervisorMetrics
fn clone(&self) -> WorkflowSupervisorMetrics
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 moreSource§impl Debug for WorkflowSupervisorMetrics
impl Debug for WorkflowSupervisorMetrics
Source§impl Default for WorkflowSupervisorMetrics
impl Default for WorkflowSupervisorMetrics
Source§fn default() -> WorkflowSupervisorMetrics
fn default() -> WorkflowSupervisorMetrics
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for WorkflowSupervisorMetrics
impl RefUnwindSafe for WorkflowSupervisorMetrics
impl Send for WorkflowSupervisorMetrics
impl Sync for WorkflowSupervisorMetrics
impl Unpin for WorkflowSupervisorMetrics
impl UnsafeUnpin for WorkflowSupervisorMetrics
impl UnwindSafe for WorkflowSupervisorMetrics
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