Struct starb::RingBuffer
source · [−]pub struct RingBuffer<T> { /* private fields */ }
Expand description
A lock-free concurrent ring buffer that prevents overwriting data before it is read.
Implementations
Trait Implementations
impl<T> Send for RingBuffer<T>where
T: Send,
Auto Trait Implementations
impl<T> !RefUnwindSafe for RingBuffer<T>
impl<T> !Sync for RingBuffer<T>
impl<T> Unpin for RingBuffer<T>where
T: Unpin,
impl<T> UnwindSafe for RingBuffer<T>where
T: UnwindSafe,
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more