Skip to main content

CounterWithValueType

Trait CounterWithValueType 

Source
pub trait CounterWithValueType {
    type ValueType: Atomic;
}
Expand description

For auto_flush::AFLocalCounter to use to make type inference possible

Required Associated Types§

Source

type ValueType: Atomic

the exact type which implements Atomic

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§