pub struct RingBuffer<T> { /* private fields */ }
Expand description
Optimized ring buffer for single-writer multiple-reader scenarios
Implementations§
Source§impl<T: Clone> RingBuffer<T>
impl<T: Clone> RingBuffer<T>
Trait Implementations§
Auto Trait Implementations§
impl<T> !Freeze for RingBuffer<T>
impl<T> !RefUnwindSafe for RingBuffer<T>
impl<T> Send for RingBuffer<T>
impl<T> Sync for RingBuffer<T>
impl<T> Unpin for RingBuffer<T>
impl<T> !UnwindSafe for RingBuffer<T>
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