MCPcopy Create free account
hub / github.com/aws/clock-bound / pop

Method pop

clock-bound/src/daemon/async_ring_buffer.rs:234–236  ·  view source on GitHub ↗

Pops a value from the tail Used to remove stale values. Returns `None` if the values are empty

(&mut self)

Source from the content-addressed store, hash-verified

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 {

Callers 1

recvMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected