e2rcore/implement/dsc/
queue_lockfree_total.rs

1pub use interface::i_pool::*;
2
3#[allow(dead_code)]
4pub struct QueueLockfreeTotal < T > {
5    pub _head : T,
6}
7
8#[allow(unused_variables)]
9impl< T > IPool< T > for QueueLockfreeTotal< T > {
10    fn clear( & mut self ) -> bool {
11        false
12    }
13    fn empty( & mut self ) -> bool {
14        false
15    }
16    fn size( & mut self ) -> u64 {
17        0
18    }
19    fn put( & mut self, item: T ) -> bool {
20        false
21    }
22    fn get( & mut self ) -> Option< T > {
23        None
24    }
25}