[−][src]Trait async_std::stream::IntoStream
This is supported on
unstable
only.Conversion into a Stream
.
By implementing IntoIterator
for a type, you define how it will be
converted to an iterator. This is common for types which describe a
collection of some kind.
See also: FromStream
.
Associated Types
type Item
This is supported on
unstable
only.The type of the elements being iterated over.
type IntoStream: Stream<Item = Self::Item>
This is supported on
unstable
only.Which kind of stream are we turning this into?
Required methods
fn into_stream(self) -> Self::IntoStream
This is supported on
unstable
only.Creates a stream from a value.
Implementors
impl<I: Stream> IntoStream for I
[src]
type Item = I::Item
This is supported on
unstable
and unstable
only.type IntoStream = I
This is supported on
unstable
and unstable
only.