Struct mpmc_ringbuf::core::MsgQueue
source · pub struct MsgQueue<T> { /* private fields */ }Expand description
main struct for controlling buffer blocks
Users should crate a new buffer block with fn add_producer, and explicitly delete the buffer
blocks with fn delete_consumer
If users want to add a producer and produce some data, make sure you call fn add_producer ahead,
otherwise there are none data block for storing the data.