pub struct Stats {
pub cpu_workers: usize,
pub phases: usize,
pub total: Counts,
pub last_accepted: Option<PhaseStats>,
pub last_phase: Option<PhaseStats>,
}Expand description
Bounded history. Acceptance uses fresh phase counts, never cumulative totals.
Fields§
§cpu_workers: usize§phases: usize§total: Counts§last_accepted: Option<PhaseStats>§last_phase: Option<PhaseStats>Trait Implementations§
Auto Trait Implementations§
impl Freeze for Stats
impl RefUnwindSafe for Stats
impl Send for Stats
impl Sync for Stats
impl Unpin for Stats
impl UnsafeUnpin for Stats
impl UnwindSafe for Stats
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