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.

Layout§

Note: Unable to compute type layout, possibly due to this type having generic parameters. Layout can only be computed for concrete, fully-instantiated types.