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

Method capacity

clock-bound/src/daemon/clock_sync_algorithm/ring_buffer.rs:62–64  ·  view source on GitHub ↗

Returns the capacity of the buffer

(&self)

Source from the content-addressed store, hash-verified

60
61 /// Returns the capacity of the buffer
62 pub fn capacity(&self) -> usize {
63 self.capacity
64 }
65
66 /// Returns `true` if the buffer is empty
67 pub fn is_empty(&self) -> bool {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected