pub struct BBQueue<S, C, N> { /* private fields */ }Expand description
A standard bbqueue
Implementations§
Source§impl<S: Storage, C: Coord, N: Notifier> BBQueue<S, C, N>
impl<S: Storage, C: Coord, N: Notifier> BBQueue<S, C, N>
Sourcepub fn new_with_storage(sto: S) -> Self
pub fn new_with_storage(sto: S) -> Self
Source§impl<S: Storage, C: Coord, N: Notifier> BBQueue<S, C, N>
impl<S: Storage, C: Coord, N: Notifier> BBQueue<S, C, N>
Sourcepub const fn framed_producer(&self) -> FramedProducer<&Self>
pub const fn framed_producer(&self) -> FramedProducer<&Self>
Create a new FramedProducer for this BBQueue
Although mixing stream and framed consumer/producers will not result in UB, it will also not work correctly.
Sourcepub const fn framed_consumer(&self) -> FramedConsumer<&Self>
pub const fn framed_consumer(&self) -> FramedConsumer<&Self>
Create a new FramedConsumer for this BBQueue
Although mixing stream and framed consumer/producers will not result in UB, it will also not work correctly.
Sourcepub const fn stream_producer(&self) -> StreamProducer<&Self>
pub const fn stream_producer(&self) -> StreamProducer<&Self>
Create a new StreamProducer for this BBQueue
Although mixing stream and framed consumer/producers will not result in UB, it will also not work correctly.
Sourcepub const fn stream_consumer(&self) -> StreamConsumer<&Self>
pub const fn stream_consumer(&self) -> StreamConsumer<&Self>
Create a new StreamConsumer for this BBQueue
Although mixing stream and framed consumer/producers will not result in UB, it will also not work correctly.
Trait Implementations§
Source§impl<S: Storage, C: Coord, N: Notifier> BbqHandle for &BBQueue<S, C, N>
impl<S: Storage, C: Coord, N: Notifier> BbqHandle for &BBQueue<S, C, N>
Source§fn stream_producer(&self) -> StreamProducer<Self>
fn stream_producer(&self) -> StreamProducer<Self>
Source§fn stream_consumer(&self) -> StreamConsumer<Self>
fn stream_consumer(&self) -> StreamConsumer<Self>
Source§fn framed_producer<H: LenHeader>(&self) -> FramedProducer<Self, H>
fn framed_producer<H: LenHeader>(&self) -> FramedProducer<Self, H>
Source§fn framed_consumer<H: LenHeader>(&self) -> FramedConsumer<Self, H>
fn framed_consumer<H: LenHeader>(&self) -> FramedConsumer<Self, H>
Auto Trait Implementations§
impl<S, C, N> Freeze for BBQueue<S, C, N>
impl<S, C, N> RefUnwindSafe for BBQueue<S, C, N>
impl<S, C, N> Send for BBQueue<S, C, N>
impl<S, C, N> Sync for BBQueue<S, C, N>
impl<S, C, N> Unpin for BBQueue<S, C, N>
impl<S, C, N> UnsafeUnpin for BBQueue<S, C, N>
impl<S, C, N> UnwindSafe for BBQueue<S, C, 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