pub struct AtomicLink {
pub next: Atomic<Record>,
}
Fields§
§next: Atomic<Record>
Implementations§
Source§impl AtomicLink
impl AtomicLink
pub fn new() -> Self
pub fn load<'g>(&self, guard: &'g Guard) -> Option<Shared<'g, Record>>
pub fn store(&self, record: Option<Shared<'_, Record>>, _guard: &Guard)
pub fn compare_exchange<'g>( &self, current: Shared<'g, Record>, new: Shared<'g, Record>, guard: &'g Guard, ) -> Result<Shared<'g, Record>, Shared<'g, Record>>
Trait Implementations§
Source§impl Debug for AtomicLink
impl Debug for AtomicLink
Auto Trait Implementations§
impl !Freeze for AtomicLink
impl !RefUnwindSafe for AtomicLink
impl Send for AtomicLink
impl Sync for AtomicLink
impl Unpin for AtomicLink
impl !UnwindSafe for AtomicLink
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