Struct atc::ChannelInfo
source · pub struct ChannelInfo { /* private fields */ }
Implementations§
source§impl ChannelInfo
impl ChannelInfo
pub fn new(message: String) -> Self
sourcepub fn head(&mut self) -> Option<String>
pub fn head(&mut self) -> Option<String>
Get head element of a queue, this doesn’t remove it from queue.
pub fn update_instant(&mut self)
sourcepub fn dequeue(&mut self) -> bool
pub fn dequeue(&mut self) -> bool
You should call head to get the head element and then call this method to remove it from queue.