FromFn in async_std::stream - Rust (original) (raw)

Source§

Advances the stream and returns the next value. Read more

Source§

Creates a stream that yields its first n elements. Read more

Source§

Creates a stream that yields elements based on a predicate. Read more

Source§

Available on unstable only.

Limit the amount of items yielded per timeslice in a stream. Read more

Source§

Creates a stream that yields each stepth element. Read more

Source§

Takes two streams and creates a new stream over both in sequence. Read more

Source§

Creates an stream which copies all of its elements. Read more

Source§

Creates an stream which copies all of its elements. Read more

Source§

Creates a stream that yields the provided values infinitely and in order. Read more

Source§

Creates a stream that gives the current element’s count as well as the next value. Read more

Source§

Available on unstable only.

Creates a stream that is delayed before it starts yielding items. Read more

Source§

Takes a closure and creates a stream that calls that closure on every element of this stream. Read more

Source§

A combinator that does something with each element in the stream, passing the value on. Read more

Source§

Returns the last element of the stream. Read more

Source§

Creates a stream which ends after the first None. Read more

Source§

Creates a stream that uses a predicate to determine if an element should be yielded. Read more

Source§

Available on unstable only.

Creates an stream that works like map, but flattens nested structure. Read more

Source§

Available on unstable only.

Creates an stream that flattens nested structure. Read more

Source§

Both filters and maps a stream. Read more

Source§

Returns the element that gives the minimum value with respect to the specified key function. If several elements are equally minimum, the first element is returned. If the stream is empty, None is returned. Read more

Source§

Returns the element that gives the maximum value with respect to the specified key function. If several elements are equally maximum, the first element is returned. If the stream is empty, None is returned. Read more

Source§

Returns the element that gives the minimum value with respect to the specified comparison function. If several elements are equally minimum, the first element is returned. If the stream is empty, None is returned. Read more

Source§

Returns the element that gives the maximum value. If several elements are equally maximum, the first element is returned. If the stream is empty, None is returned. Read more

Source§

Returns the element that gives the minimum value. If several elements are equally minimum, the first element is returned. If the stream is empty, None is returned. Read more

Source§

Returns the element that gives the maximum value with respect to the specified comparison function. If several elements are equally maximum, the first element is returned. If the stream is empty, None is returned. Read more

Source§

Returns the nth element of the stream. Read more

Source§

Tests if every element of the stream matches a predicate. Read more

Source§

Searches for an element in a stream that satisfies a predicate. Read more

Source§

Applies function to the elements of stream and returns the first non-none result. Read more

Source§

A combinator that applies a function to every element in a stream producing a single, final value. Read more

Source§

Available on unstable only.

A combinator that applies a function to every element in a stream creating two collections from it. Read more

Source§

Call a closure on each element of the stream. Read more

Source§

Tests if any element of the stream matches a predicate. Read more

Source§

Available on unstable only.

Borrows an stream, rather than consuming it. Read more

Source§

A stream adaptor similar to fold that holds internal state and produces a new stream. Read more

Source§

Combinator that skips elements based on a predicate. Read more

Source§

Creates a combinator that skips the first n elements. Read more

Source§

Available on unstable only.

Await a stream or times out after a duration of time. Read more

Source§

A combinator that applies a function as long as it returns successfully, producing a single, final value. Immediately returns the error when the function returns unsuccessfully. Read more

Source§

Applies a falliable function to each element in a stream, stopping at first error and returning it. Read more

Source§

‘Zips up’ two streams into a single stream of pairs. Read more

Source§

Available on unstable only.

Converts an stream of pairs into a pair of containers. Read more

Source§

Available on unstable only.

Transforms a stream into a collection. Read more

Source§

Available on unstable only.

Combines multiple streams into a single stream of all their outputs. Read more

Source§

Lexicographically compares the elements of this Stream with those of another. Read more

Source§

Searches for an element in a Stream that satisfies a predicate, returning its index. Read more

Source§

Lexicographically compares the elements of this Stream with those of another using ‘Ord’. Read more

Source§

Available on unstable only.

Counts the number of elements in the stream. Read more

Source§

Determines if the elements of this Stream are lexicographically not equal to those of another. Read more

Source§

Determines if the elements of this Stream are lexicographically greater than or equal to those of another. Read more

Source§

Determines if the elements of this Stream are lexicographically equal to those of another. Read more

Source§

Determines if the elements of this Stream are lexicographically greater than those of another. Read more

Source§

Determines if the elements of this Stream are lexicographically less or equal to those of another. Read more

Source§

Determines if the elements of this Stream are lexicographically less than those of another. Read more

Source§

Available on unstable only.

Sums the elements of a stream. Read more

Source§

Available on unstable only.

Multiplies all elements of the stream. Read more