pub struct LockFreeStack<T> { /* private fields */ }
Expand description
Lock-free stack using Treiber’s algorithm Provides LIFO semantics with concurrent access
Implementations§
Trait Implementations§
Source§impl<T: Debug> Debug for LockFreeStack<T>
impl<T: Debug> Debug for LockFreeStack<T>
Source§impl<T> Default for LockFreeStack<T>
impl<T> Default for LockFreeStack<T>
Auto Trait Implementations§
impl<T> !Freeze for LockFreeStack<T>
impl<T> RefUnwindSafe for LockFreeStack<T>where
T: RefUnwindSafe,
impl<T> Send for LockFreeStack<T>
impl<T> Sync for LockFreeStack<T>
impl<T> Unpin for LockFreeStack<T>where
T: Unpin,
impl<T> UnwindSafe for LockFreeStack<T>where
T: UnwindSafe + 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