Type Alias crossbeam::epoch::CompareAndSetError

source ·
pub type CompareAndSetError<'g, T, P> = CompareExchangeError<'g, T, P>;
👎Deprecated: Use CompareExchangeError instead
Expand description

The error returned on failed compare-and-set operation.

Aliased Type§

struct CompareAndSetError<'g, T, P> {
    pub current: Shared<'g, T>,
    pub new: P,
}

Fields§

§current: Shared<'g, T>

The value in the atomic pointer at the time of the failed operation.

§new: P

The new value, which the operation failed to store.