Pops a value from the tail Used to remove stale values. Returns `None` if the values are empty
(&mut self)
| 232 | /// |
| 233 | /// Used to remove stale values. Returns `None` if the values are empty |
| 234 | fn pop(&mut self) -> Option<T> { |
| 235 | self.data.pop_front() |
| 236 | } |
| 237 | |
| 238 | /// Returns `true` if the buffer is empty |
| 239 | pub fn is_empty(&self) -> bool { |