AtomicU8

Type Alias AtomicU8 

Source
pub type AtomicU8 = AtomicU8;
Available on crate feature primitives only.
Expand description

An atomic u8.

This is either an alias to the type in core::sync::atomic, or, if not available1, a spinlock-based fallback type.


  1. If an appropriate type exists in core::sync::atomic, but compare-and-swap operations are not provided for it (i.e., only loads and stores are supported), it is still considered to be “not available” for the purposes of this crate. 

Aliased Type§

pub struct AtomicU8 { /* private fields */ }