[][src]Module tokio::stream

This is supported on feature="stream" only.

Stream utilities for Tokio.

A Stream is an asynchronous sequence of values. It can be thought of as an asynchronous version of the standard library's Iterator trait.

This module provides helpers to work with them.

Structs

Iterfeature="stream"

Stream for the iter function.

Traits

Streamfeature="stream"

A stream of values produced asynchronously.

StreamExtfeature="stream"

An extension trait for Streams that provides a variety of convenient combinator functions.

Functions

iterfeature="stream"

Converts an Iterator into a Stream which is always ready to yield the next value.