pub struct IndexMetrics {
pub builds_total: AtomicU64,
pub builds_failed: AtomicU64,
}Fields§
§builds_total: AtomicU64§builds_failed: AtomicU64Implementations§
Source§impl IndexMetrics
impl IndexMetrics
pub fn record_build_success(&self)
pub fn record_build_failure(&self)
pub fn builds_total(&self) -> u64
pub fn builds_failed(&self) -> u64
Trait Implementations§
Source§impl Debug for IndexMetrics
impl Debug for IndexMetrics
Source§impl Default for IndexMetrics
impl Default for IndexMetrics
Source§fn default() -> IndexMetrics
fn default() -> IndexMetrics
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl !Freeze for IndexMetrics
impl RefUnwindSafe for IndexMetrics
impl Send for IndexMetrics
impl Sync for IndexMetrics
impl Unpin for IndexMetrics
impl UnsafeUnpin for IndexMetrics
impl UnwindSafe for IndexMetrics
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