pub struct BoundedUuidSet { /* private fields */ }Expand description
FIFO-bounded set backed by a circular buffer. Evicts the oldest entry when capacity is reached, keeping memory usage constant at O(capacity).
Messages are added in chronological order, so evicted entries are always the oldest. The caller relies on external ordering (the hook’s lastWrittenIndexRef) as the primary dedup — this set is a secondary safety net for echo filtering and race-condition dedup.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for BoundedUuidSet
impl RefUnwindSafe for BoundedUuidSet
impl Send for BoundedUuidSet
impl Sync for BoundedUuidSet
impl Unpin for BoundedUuidSet
impl UnsafeUnpin for BoundedUuidSet
impl UnwindSafe for BoundedUuidSet
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more