crossbeam::epoch

Type Alias 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.

Trait Implementations

Source§

impl<T, P> Debug for CompareExchangeError<'_, T, P>
where P: Pointer<T> + Debug,

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Formats the value using the given formatter. Read more