Trait concurrency_traits::PeekQueue[][src]

pub trait PeekQueue: Queue + TryPeekQueue {
    fn peek(&self) -> Self::Peeked;
}

A queue that can be peeked into

Required methods

fn peek(&self) -> Self::Peeked[src]

Peeks into the queue blocking until item is in

Loading content...

Implementors

impl<T: ?Sized> PeekQueue for T where
    T: Deref,
    T::Target: PeekQueue
[src]

Loading content...