pub struct DoublyLinkedList<T> { /* private fields */ }
Expand description
An atomic, doubly linked, FIFO list for a wait queue.
Atomicity is guaranteed by short critical_section
s, so this list is not lock free,
but it will not deadlock.
Implementations§
source§impl<T> DoublyLinkedList<T>
impl<T> DoublyLinkedList<T>
source§impl<T: Clone> DoublyLinkedList<T>
impl<T: Clone> DoublyLinkedList<T>
Trait Implementations§
Auto Trait Implementations§
impl<T> !Freeze for DoublyLinkedList<T>
impl<T> RefUnwindSafe for DoublyLinkedList<T>
impl<T> Send for DoublyLinkedList<T>
impl<T> Sync for DoublyLinkedList<T>
impl<T> Unpin for DoublyLinkedList<T>
impl<T> UnwindSafe for DoublyLinkedList<T>where
T: 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