Struct metrics_util::Generation [−][src]
pub struct Generation(_);
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
impl Clone for Generation
[src]
impl Clone for Generation
[src]fn clone(&self) -> Generation
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl PartialEq<Generation> for Generation
[src]
impl PartialEq<Generation> for Generation
[src]fn eq(&self, other: &Generation) -> bool
[src]
fn ne(&self, other: &Generation) -> bool
[src]
impl StructuralPartialEq for Generation
[src]
impl StructuralPartialEq for Generation
[src]Auto Trait Implementations
impl RefUnwindSafe for Generation
impl RefUnwindSafe for Generation
impl Send for Generation
impl Send for Generation
impl Sync for Generation
impl Sync for Generation
impl Unpin for Generation
impl Unpin for Generation
impl UnwindSafe for Generation
impl UnwindSafe for Generation