Struct async_stm::queues::tvecdequeue::TVecDequeue
source · pub struct TVecDequeue<T> { /* private fields */ }Expand description
Unbounded queue backed by a single VecDequeue.
The drawback is that reads and writes both touch the same TVar.
Implementations§
source§impl<T> TVecDequeue<T>where
T: Any + Sync + Send + Clone,
impl<T> TVecDequeue<T>where T: Any + Sync + Send + Clone,
sourcepub fn new() -> TVecDequeue<T>
pub fn new() -> TVecDequeue<T>
Create an empty TVecDequeue.
Trait Implementations§
source§impl<T: Clone> Clone for TVecDequeue<T>
impl<T: Clone> Clone for TVecDequeue<T>
source§fn clone(&self) -> TVecDequeue<T>
fn clone(&self) -> TVecDequeue<T>
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read more