pub struct Consumer { /* private fields */ }Expand description
Sole-consumer handle on a SharedRingSpsc pair. Same
Send + !Sync + !Clone shape as Producer, mirroring the
SPSC contract on the read side.
Implementations§
Auto Trait Implementations§
impl !RefUnwindSafe for Consumer
impl !Sync for Consumer
impl !UnwindSafe for Consumer
impl Freeze for Consumer
impl Send for Consumer
impl Unpin for Consumer
impl UnsafeUnpin for Consumer
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