Trait Ordering

Source
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.

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so 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