#[repr(transparent)]pub struct AtomicStatus(AtomicU8);
Tuple Fields§
§0: AtomicU8
Implementations§
source§impl AtomicStatus
impl AtomicStatus
pub const fn new(status: Status) -> Self
pub fn load(&self, ordering: Ordering) -> Status
pub fn store(&self, status: Status, ordering: Ordering)
pub fn compare_exchange( &self, old: Status, new: Status, success: Ordering, failure: Ordering, ) -> Result<Status, Status>
pub fn get_mut(&mut self) -> &mut Status
Auto Trait Implementations§
impl !Freeze for AtomicStatus
impl RefUnwindSafe for AtomicStatus
impl Send for AtomicStatus
impl Sync for AtomicStatus
impl Unpin for AtomicStatus
impl UnwindSafe for AtomicStatus
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more