Expand description
Atomic type ring buffer with specialized trait
为原子类型专门设计的环形缓冲区
This module provides ring buffer implementation optimized for atomic types like AtomicU64. Unlike generic ring buffers, atomic ring buffers don’t move values but operate through atomic load/store operations.
本模块提供针对原子类型(如 AtomicU64)优化的环形缓冲区实现。 与通用环形缓冲区不同,原子环形缓冲区不移动值,而是通过原子 load/store 操作进行读写。
Structs§
- Atomic
Iter - Iterator over atomic ring buffer elements
- Atomic
Ring Buf - Ring buffer specialized for atomic types
- Push
Marker - Marker struct for compile-time dispatch
Traits§
- Atomic
Element - Trait for types that support atomic operations
- Atomic
Numeric - Trait for atomic numeric operations on ring buffer elements
- Push
Dispatch - Internal trait to dispatch push behavior based on OVERWRITE