pub struct ColorOutputSaveCounters { /* private fields */ }Expand description
Lifetime totals of one colour object’s Present_Value saves, shared with
the object: take it with output_save_counters (on
ColorObject or
ColorTemperatureObject) before the
object joins a database, and read it at any time after. A failed save
refuses nothing, so this is where one shows besides the log: until a
retry lands, storage holds an older value than the object serves.
Implementations§
Source§impl ColorOutputSaveCounters
impl ColorOutputSaveCounters
Sourcepub fn failed_saves(&self) -> u64
pub fn failed_saves(&self) -> u64
Saves the persistence refused, each retry that failed included.
Saturates at u64::MAX.
Trait Implementations§
Source§impl Clone for ColorOutputSaveCounters
impl Clone for ColorOutputSaveCounters
Source§impl Debug for ColorOutputSaveCounters
impl Debug for ColorOutputSaveCounters
Auto Trait Implementations§
impl Freeze for ColorOutputSaveCounters
impl RefUnwindSafe for ColorOutputSaveCounters
impl Send for ColorOutputSaveCounters
impl Sync for ColorOutputSaveCounters
impl Unpin for ColorOutputSaveCounters
impl UnsafeUnpin for ColorOutputSaveCounters
impl UnwindSafe for ColorOutputSaveCounters
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