Struct futures_intrusive::channel::ChannelStream
source · pub struct ChannelStream<'a, MutexType: RawMutex, T, A>where
A: RingBuf<Item = T>,{ /* private fields */ }
Expand description
A stream that receives from a GenericChannel
.
Not driving the ChannelStream
to completion after it has been polled
might lead to lost wakeup notifications.
Trait Implementations§
source§impl<'a, MutexType: Debug + RawMutex, T: Debug, A> Debug for ChannelStream<'a, MutexType, T, A>
impl<'a, MutexType: Debug + RawMutex, T: Debug, A> Debug for ChannelStream<'a, MutexType, T, A>
source§impl<'a, MutexType, T, A> FusedStream for ChannelStream<'a, MutexType, T, A>
impl<'a, MutexType, T, A> FusedStream for ChannelStream<'a, MutexType, T, A>
source§fn is_terminated(&self) -> bool
fn is_terminated(&self) -> bool
Returns
true
if the stream should no longer be polled.source§impl<'a, MutexType, T, A> Stream for ChannelStream<'a, MutexType, T, A>
impl<'a, MutexType, T, A> Stream for ChannelStream<'a, MutexType, T, A>
Auto Trait Implementations§
impl<'a, MutexType, T, A> !RefUnwindSafe for ChannelStream<'a, MutexType, T, A>
impl<'a, MutexType, T, A> Send for ChannelStream<'a, MutexType, T, A>
impl<'a, MutexType, T, A> !Sync for ChannelStream<'a, MutexType, T, A>
impl<'a, MutexType, T, A> !Unpin for ChannelStream<'a, MutexType, T, A>
impl<'a, MutexType, T, A> !UnwindSafe for ChannelStream<'a, MutexType, T, A>
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