pub struct InstanceMetrics {
pub instance_id: String,
pub active_sessions: u64,
pub total_created: u64,
pub total_completed: u64,
pub total_expired: u64,
pub registered_signers: u64,
pub aggregations_attempted: u64,
pub aggregations_failed: u64,
}Expand description
Metrics from a single coordinator instance.
Fields§
§instance_id: String§active_sessions: u64§total_created: u64§total_completed: u64§total_expired: u64§registered_signers: u64§aggregations_attempted: u64§aggregations_failed: u64Trait Implementations§
Source§impl Clone for InstanceMetrics
impl Clone for InstanceMetrics
Source§fn clone(&self) -> InstanceMetrics
fn clone(&self) -> InstanceMetrics
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 InstanceMetrics
impl Debug for InstanceMetrics
Source§impl<'de> Deserialize<'de> for InstanceMetrics
impl<'de> Deserialize<'de> for InstanceMetrics
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for InstanceMetrics
impl RefUnwindSafe for InstanceMetrics
impl Send for InstanceMetrics
impl Sync for InstanceMetrics
impl Unpin for InstanceMetrics
impl UnsafeUnpin for InstanceMetrics
impl UnwindSafe for InstanceMetrics
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