bbq-rs 0.1.1

A Block-based Bounded Queue for Exchanging Data and Profiling
Documentation
1
2
3
4
5
6
7
8
9
use crate::Result;

pub trait BlockingQueue {
    type Item;

    fn push(&self, item: Self::Item) -> Result<()>;

    fn pop(&self) -> Result<Self::Item>;
}