pub struct PackInstallMetricsSnapshot {
pub installs_ok: u64,
pub installs_err: u64,
pub recover_completed: u64,
pub recover_aborted: u64,
pub recover_skipped_in_progress: u64,
pub recover_quarantined: u64,
}Expand description
Snapshot of process-local pack-install counters (resettable in tests).
Hosted / maintenance adapters scrape this; it is not a full product metrics pipeline, but it is the stable hook surface for recover/install observability.
Fields§
§installs_ok: u64§installs_err: u64§recover_completed: u64§recover_aborted: u64§recover_skipped_in_progress: u64§recover_quarantined: u64Trait Implementations§
Source§impl Clone for PackInstallMetricsSnapshot
impl Clone for PackInstallMetricsSnapshot
Source§fn clone(&self) -> PackInstallMetricsSnapshot
fn clone(&self) -> PackInstallMetricsSnapshot
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 moreimpl Copy for PackInstallMetricsSnapshot
Source§impl Debug for PackInstallMetricsSnapshot
impl Debug for PackInstallMetricsSnapshot
Source§impl Default for PackInstallMetricsSnapshot
impl Default for PackInstallMetricsSnapshot
Source§fn default() -> PackInstallMetricsSnapshot
fn default() -> PackInstallMetricsSnapshot
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for PackInstallMetricsSnapshot
impl<'de> Deserialize<'de> for PackInstallMetricsSnapshot
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
impl Eq for PackInstallMetricsSnapshot
impl StructuralPartialEq for PackInstallMetricsSnapshot
Auto Trait Implementations§
impl Freeze for PackInstallMetricsSnapshot
impl RefUnwindSafe for PackInstallMetricsSnapshot
impl Send for PackInstallMetricsSnapshot
impl Sync for PackInstallMetricsSnapshot
impl Unpin for PackInstallMetricsSnapshot
impl UnsafeUnpin for PackInstallMetricsSnapshot
impl UnwindSafe for PackInstallMetricsSnapshot
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