pub struct Producer<'a, T, const N: usize>(/* private fields */);
Expand description
Producer of Ring RingBuffer
As name implies, it is only capable of putting elements onto buffer
Implementations§
Trait Implementations§
impl<'a, T, const N: usize> Send for Producer<'a, T, N>
impl<'a, T, const N: usize> Sync for Producer<'a, T, N>
Auto Trait Implementations§
impl<'a, T, const N: usize> !RefUnwindSafe for Producer<'a, T, N>
impl<'a, T, const N: usize> Unpin for Producer<'a, T, N>
impl<'a, T, const N: usize> !UnwindSafe for Producer<'a, T, N>
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