tokio::runtime::scheduler::multi_thread::queue

Type Alias AtomicUnsignedShort

Source
type AtomicUnsignedShort = AtomicU32;

Aliased Type§

struct AtomicUnsignedShort {
    inner: UnsafeCell<AtomicU32>,
}

Fields§

§inner: UnsafeCell<AtomicU32>

Implementations

Source§

impl AtomicU32

Source

pub(crate) const fn new(val: u32) -> AtomicU32

Source

pub(crate) unsafe fn unsync_load(&self) -> u32

Performs an unsynchronized load.

§Safety

All mutations must have happened before the unsynchronized load. Additionally, there must be no concurrent mutations.

Trait Implementations

Source§

impl Debug for AtomicU32

Source§

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

Formats the value using the given formatter. Read more
Source§

impl Deref for AtomicU32

Source§

type Target = AtomicU32

The resulting type after dereferencing.
Source§

fn deref(&self) -> &Self::Target

Dereferences the value.
Source§

impl RefUnwindSafe for AtomicU32

Source§

impl Send for AtomicU32

Source§

impl Sync for AtomicU32

Source§

impl UnwindSafe for AtomicU32