pub struct RegretStats {
pub reruns: u32,
pub expands: u32,
pub avg_rerun_gap_secs: f64,
}Expand description
Aggregated compression-regret signals (see regret_log).
Fields§
§reruns: u32Byte-identical output re-produced within the regret window.
expands: u32§ref:…§ tokens expanded back to original bytes.
avg_rerun_gap_secs: f64Mean seconds between last sighting and the rerun.
Trait Implementations§
Source§impl Clone for RegretStats
impl Clone for RegretStats
Source§fn clone(&self) -> RegretStats
fn clone(&self) -> RegretStats
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 RegretStats
impl Debug for RegretStats
Source§impl Default for RegretStats
impl Default for RegretStats
Source§fn default() -> RegretStats
fn default() -> RegretStats
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for RegretStats
impl RefUnwindSafe for RegretStats
impl Send for RegretStats
impl Sync for RegretStats
impl Unpin for RegretStats
impl UnsafeUnpin for RegretStats
impl UnwindSafe for RegretStats
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