Struct async_component::AsyncComponentStream
source · pub struct AsyncComponentStream<T>(_)
where
T: ?Sized;Trait Implementations§
source§impl<T> Clone for AsyncComponentStream<T>where
T: Clone + ?Sized,
impl<T> Clone for AsyncComponentStream<T>where
T: Clone + ?Sized,
source§fn clone(&self) -> AsyncComponentStream<T>
fn clone(&self) -> AsyncComponentStream<T>
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresource§impl<T> Stream for AsyncComponentStream<T>where
T: AsyncComponent,
impl<T> Stream for AsyncComponentStream<T>where
T: AsyncComponent,
§type Item = ComponentPollFlags
type Item = ComponentPollFlags
Values yielded by the stream.
source§fn poll_next(
self: Pin<&mut AsyncComponentStream<T>>,
cx: &mut Context<'_>
) -> Poll<Option<<AsyncComponentStream<T> as Stream>::Item>>
fn poll_next(
self: Pin<&mut AsyncComponentStream<T>>,
cx: &mut Context<'_>
) -> Poll<Option<<AsyncComponentStream<T> as Stream>::Item>>
Attempt to pull out the next value of this stream, registering the
current task for wakeup if the value is not yet available, and returning
None if the stream is exhausted. Read more