AtI8

Trait AtI8 

Source
pub trait AtI8 {
    // Required methods
    fn cas(&self, current: i8, new: i8) -> Result<i8, i8>;
    fn l(&self) -> i8;
    fn s(&self, val: i8);
}

Required Methods§

Source

fn cas(&self, current: i8, new: i8) -> Result<i8, i8>

swap with Ordering::Relaxed

Source

fn l(&self) -> i8

load with Ordering::Relaxed

Source

fn s(&self, val: i8)

store with Ordering::Relaxed

Implementations on Foreign Types§

Source§

impl AtI8 for AtomicI8

Source§

fn cas(&self, current: i8, new: i8) -> Result<i8, i8>

Source§

fn l(&self) -> i8

Source§

fn s(&self, val: i8)

Implementors§