Trait concurrency_traits::queue::PrependQueue [−][src]
pub trait PrependQueue: Queue + TryPrependQueue { fn push_front(&self, value: Self::Item); }
Expand description
A queue that can be prepended (items placed in front)
Required methods
fn push_front(&self, value: Self::Item)
[src]
fn push_front(&self, value: Self::Item)
[src]Adds an item to the front of the queue blocking until able
Implementors
impl<T, S, CS> PrependQueue for SemaphoreQueue<T, S, CS> where
S: Semaphore,
CS: ThreadFunctions,
[src]
impl<T, S, CS> PrependQueue for SemaphoreQueue<T, S, CS> where
S: Semaphore,
CS: ThreadFunctions,
[src]