pubusecrate::core::queue::SendError;pubuseprosa_utils::queue::{QueueChecker, QueueError};/// Multi producer / Single consumer queue
pubmodmpsc;/// Single producer, multiple consumer with expiration queue
pubmodtimed;/// Macro to define queue inner method related to Queue trait
macro_rules!impl_queue_checker{($queue:ident, $p:ty)=>{fnis_empty(&self)->bool{self.$queue.is_empty()}fnis_full(&self)->bool{self.$queue.is_full()}fnlen(&self)->$p{self.$queue.len()}fnmax_capacity(&self)->$p{self.$queue.max_capacity()}};}pub(crate)use impl_queue_checker;