Struct std::stream::FromIter[][src]

pub struct FromIter<I> {
    iter: I,
}
🔬 This is a nightly-only experimental API. (stream_from_iter #81798)
Expand description

A stream that was created from iterator.

This stream is created by the from_iter function. See it documentation for more.

Fields

iter: I
🔬 This is a nightly-only experimental API. (stream_from_iter #81798)

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

🔬 This is a nightly-only experimental API. (async_stream #79024)

The type of items yielded by the stream.

🔬 This is a nightly-only experimental API. (async_stream #79024)

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

🔬 This is a nightly-only experimental API. (async_stream #79024)

Returns the bounds on the remaining length of the stream. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

🔬 This is a nightly-only experimental API. (toowned_clone_into #41263)

recently added

Uses borrowed data to replace owned data, usually by cloning. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.