Trait TryPeekQueue
concurrency_traits::queue
pub trait TryPeekQueue: TryQueue { type Peeked; fn try_peek(&self) -> Option<Self::Peeked>; }
A queue that can try to be peeked into
type Peeked
The type that peek returns
peek
fn try_peek(&self) -> Option<Self::Peeked>
Non blocking peek