[−][src]Struct futures_util::try_stream::IntoStream
#[must_use = "streams do nothing unless polled"]pub struct IntoStream<St> { /* fields omitted */ }
Stream for the into_stream
combinator.
Methods
impl<St> IntoStream<St>
[src]
impl<St> IntoStream<St>
ⓘImportant traits for &'a mut Wpub fn get_ref(&self) -> &St
[src]
ⓘImportant traits for &'a mut W
pub fn get_ref(&self) -> &St
Acquires a reference to the underlying stream that this combinator is pulling from.
ⓘImportant traits for &'a mut Wpub fn get_mut(&mut self) -> &mut St
[src]
ⓘImportant traits for &'a mut W
pub fn get_mut(&mut self) -> &mut St
Acquires a mutable reference to the underlying stream that this combinator is pulling from.
pub fn into_inner(self) -> St
[src]
pub fn into_inner(self) -> St
Consumes this combinator, returning the underlying stream.
Trait Implementations
impl<St: Debug> Debug for IntoStream<St>
[src]
impl<St: Debug> Debug for IntoStream<St>
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl<St: TryStream> Stream for IntoStream<St>
[src]
impl<St: TryStream> Stream for IntoStream<St>
type Item = Result<St::Ok, St::Error>
Values yielded by the stream.
fn poll_next(self: PinMut<Self>, cx: &mut Context) -> Poll<Option<Self::Item>>
[src]
fn poll_next(self: PinMut<Self>, cx: &mut Context) -> Poll<Option<Self::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
Auto Trait Implementations
impl<St> Send for IntoStream<St> where
St: Send,
impl<St> Send for IntoStream<St> where
St: Send,
impl<St> Sync for IntoStream<St> where
St: Sync,
impl<St> Sync for IntoStream<St> where
St: Sync,