pub trait Ordering: Sealed {
    const TYPE: OrderingType;
}
Expand description

The trait bound for annotating operations that support any ordering.

Required Associated Constants§

source

const TYPE: OrderingType

Describes the exact memory ordering.

Object Safety§

This trait is not object safe.

Implementors§

source§

impl Ordering for Acquire

source§

const TYPE: OrderingType = OrderingType::Acquire

source§

impl Ordering for Full

source§

const TYPE: OrderingType = OrderingType::Full

source§

impl Ordering for Relaxed

source§

const TYPE: OrderingType = OrderingType::Relaxed

source§

impl Ordering for Release

source§

const TYPE: OrderingType = OrderingType::Release