Struct embedded_async_helpers::ssq::Consumer
source · [−]pub struct Consumer<'a, T> { /* private fields */ }
Expand description
Read handle to a single slot queue.
Implementations
Trait Implementations
impl<'a, T> Send for Consumer<'a, T>
Safety: We gurarantee the safety using an AtomicBool
to gate the read of the UnsafeCell
.
Auto Trait Implementations
impl<'a, T> !RefUnwindSafe for Consumer<'a, T>
impl<'a, T> !Sync for Consumer<'a, T>
impl<'a, T> Unpin for Consumer<'a, T>
impl<'a, T> !UnwindSafe for Consumer<'a, T>
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