pub struct ClaimStats {
pub attempts: u64,
pub successes: u64,
pub contentions: u64,
pub takeovers: u64,
pub acks: u64,
pub nacks: u64,
pub expirations: u64,
}Expand description
Statistics for claim operations
Fields§
§attempts: u64Total claim attempts
successes: u64Successful claims
contentions: u64Failed due to contention
takeovers: u64Takeovers of expired claims
acks: u64Claims released via ack
nacks: u64Claims released via nack
expirations: u64Claims expired
Trait Implementations§
Source§impl Clone for ClaimStats
impl Clone for ClaimStats
Source§fn clone(&self) -> ClaimStats
fn clone(&self) -> ClaimStats
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 ClaimStats
impl Debug for ClaimStats
Source§impl Default for ClaimStats
impl Default for ClaimStats
Source§fn default() -> ClaimStats
fn default() -> ClaimStats
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for ClaimStats
impl RefUnwindSafe for ClaimStats
impl Send for ClaimStats
impl Sync for ClaimStats
impl Unpin for ClaimStats
impl UnsafeUnpin for ClaimStats
impl UnwindSafe for ClaimStats
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more