pub struct RcuListCursor<'a, T: Send + Sync + 'static, A: RcuListAdapter<T>> { /* private fields */ }Implementations§
Source§impl<'a, T: Send + Sync + 'static, A: RcuListAdapter<T>> RcuListCursor<'a, T, A>
impl<'a, T: Send + Sync + 'static, A: RcuListAdapter<T>> RcuListCursor<'a, T, A>
Sourcepub unsafe fn remove(&mut self) -> RcuPtrRef<'a, T>
pub unsafe fn remove(&mut self) -> RcuPtrRef<'a, T>
Removes the element at the current cursor position.
After calling remove, the cursor will be positioned at the next element in the list.
Concurrent readers may continue to see this entry in the list until the RCU state machine has made sufficient progress to ensure that no concurrent readers are holding read guards.
§Safety
Requires external synchronization to exclude concurrent writers.
Auto Trait Implementations§
impl<'a, T, A> Freeze for RcuListCursor<'a, T, A>
impl<'a, T, A> RefUnwindSafe for RcuListCursor<'a, T, A>where
T: RefUnwindSafe,
A: RefUnwindSafe,
impl<'a, T, A> !Send for RcuListCursor<'a, T, A>
impl<'a, T, A> !Sync for RcuListCursor<'a, T, A>
impl<'a, T, A> Unpin for RcuListCursor<'a, T, A>
impl<'a, T, A> UnsafeUnpin for RcuListCursor<'a, T, A>
impl<'a, T, A> UnwindSafe for RcuListCursor<'a, T, A>where
T: RefUnwindSafe,
A: RefUnwindSafe,
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