Trait arc_swap::strategy::CaS

source ·
pub trait CaS<T: RefCnt>: CaS<T> { }
Expand description

An extension of the Strategy, allowing for compare and swap operation.

The compare and swap operation is “advanced” and not all strategies need to support them. Therefore, it is a separate trait.

Similarly, it is not yet made publicly usable or implementable and works only as a bound.

Object Safety§

This trait is not object safe.

Implementors§

source§

impl<T: RefCnt, S: CaS<T>> CaS<T> for S