Struct cros_asyncv2::sync::waiter::AtomicLinkOps
source · [−]pub struct AtomicLinkOps;
Trait Implementations
sourceimpl Clone for AtomicLinkOps
impl Clone for AtomicLinkOps
sourcefn clone(&self) -> AtomicLinkOps
fn clone(&self) -> AtomicLinkOps
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Default for AtomicLinkOps
impl Default for AtomicLinkOps
sourcefn default() -> AtomicLinkOps
fn default() -> AtomicLinkOps
Returns the “default value” for a type. Read more
sourceimpl LinkOps for AtomicLinkOps
impl LinkOps for AtomicLinkOps
type LinkPtr = NonNull<AtomicLink>
type LinkPtr = NonNull<AtomicLink>
The link pointer type.
sourceunsafe fn acquire_link(&mut self, ptr: Self::LinkPtr) -> bool
unsafe fn acquire_link(&mut self, ptr: Self::LinkPtr) -> bool
Attempts to acquire ownership of a link so that it can be used in an
intrusive collection. Read more
sourceunsafe fn release_link(&mut self, ptr: Self::LinkPtr)
unsafe fn release_link(&mut self, ptr: Self::LinkPtr)
Releases ownership of a link that was previously acquired with
acquire_link
. Read moresourceimpl LinkedListOps for AtomicLinkOps
impl LinkedListOps for AtomicLinkOps
sourceunsafe fn next(&self, ptr: Self::LinkPtr) -> Option<Self::LinkPtr>
unsafe fn next(&self, ptr: Self::LinkPtr) -> Option<Self::LinkPtr>
Returns the “next” link pointer of
ptr
. Read moresourceunsafe fn prev(&self, ptr: Self::LinkPtr) -> Option<Self::LinkPtr>
unsafe fn prev(&self, ptr: Self::LinkPtr) -> Option<Self::LinkPtr>
Returns the “prev” link pointer of
ptr
. Read moreimpl Copy for AtomicLinkOps
Auto Trait Implementations
impl RefUnwindSafe for AtomicLinkOps
impl Send for AtomicLinkOps
impl Sync for AtomicLinkOps
impl Unpin for AtomicLinkOps
impl UnwindSafe for AtomicLinkOps
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more