pub struct ScoreOverflow {
pub chain: bool,
pub total: bool,
}Expand description
Counters that would overflow in an atomically rejected ScoreChain::try_award.
Both flags can be true. The rejection changes no field, including timing/best.
Fields§
§chain: boolThe chain increment cannot be represented in u32.
total: boolThe nominal score addition cannot be represented in u64.
Trait Implementations§
Source§impl Clone for ScoreOverflow
impl Clone for ScoreOverflow
Source§fn clone(&self) -> ScoreOverflow
fn clone(&self) -> ScoreOverflow
Returns a duplicate of the value. Read more
1.0.0 · 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 ScoreOverflow
impl Debug for ScoreOverflow
Source§impl PartialEq for ScoreOverflow
impl PartialEq for ScoreOverflow
impl Copy for ScoreOverflow
impl Eq for ScoreOverflow
impl StructuralPartialEq for ScoreOverflow
Auto Trait Implementations§
impl Freeze for ScoreOverflow
impl RefUnwindSafe for ScoreOverflow
impl Send for ScoreOverflow
impl Sync for ScoreOverflow
impl Unpin for ScoreOverflow
impl UnwindSafe for ScoreOverflow
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