Struct metrics_util::Generation [−][src]
pub struct Generation(_);
Expand description
Generation counter.
Used for denoting the generation of a given handle, which is used to provide compare-and-swap deletion semantics i.e. if the generation used to request deletion for a handle is behind the current generation of the handle, then the deletion will not proceed.
Trait Implementations
Returns the “default value” for a type. Read more
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for Generation
impl Send for Generation
impl Sync for Generation
impl Unpin for Generation
impl UnwindSafe for Generation
Blanket Implementations
Mutably borrows from an owned value. Read more