Struct concurrent_map::ConcurrentStack
source · pub struct ConcurrentStack<T: 'static + Send> { /* private fields */ }Implementations
sourceimpl<T: Send> ConcurrentStack<T>
impl<T: Send> ConcurrentStack<T>
pub fn push(&self, item: T)
pub fn pop(&mut self) -> Option<T>
sourcepub fn get_pusher(&self) -> ConcurrentStackPusher<T>
pub fn get_pusher(&self) -> ConcurrentStackPusher<T>
Returns a push-only stack handle. This is better to use where possible, because it avoids registering shared state with the epoch-based reclamation system.
Trait Implementations
sourceimpl<T: Clone + 'static + Send> Clone for ConcurrentStack<T>
impl<T: Clone + 'static + Send> Clone for ConcurrentStack<T>
sourcefn clone(&self) -> ConcurrentStack<T>
fn clone(&self) -> ConcurrentStack<T>
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<T: Debug + 'static + Send> Debug for ConcurrentStack<T>
impl<T: Debug + 'static + Send> Debug for ConcurrentStack<T>
sourceimpl<T: Default + 'static + Send> Default for ConcurrentStack<T>
impl<T: Default + 'static + Send> Default for ConcurrentStack<T>
sourcefn default() -> ConcurrentStack<T>
fn default() -> ConcurrentStack<T>
Returns the “default value” for a type. Read more
Auto Trait Implementations
impl<T> !RefUnwindSafe for ConcurrentStack<T>
impl<T> Send for ConcurrentStack<T>
impl<T> !Sync for ConcurrentStack<T>
impl<T> Unpin for ConcurrentStack<T>
impl<T> !UnwindSafe for ConcurrentStack<T>
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