Struct ordered_stream::FromSortedStream[][src]

pub struct FromSortedStream<S> {
    pub stream: S,
}
Expand description

An OrderedStream wrapper around a Stream.

Unlike FromStream, the items in the Stream are themselves ordered with no additional data.

Fields

stream: S

Implementations

Create a new OrderedStream by applying a split_item closure to each element produced by the original stream.

Trait Implementations

Formats the value using the given formatter. Read more

Returns true if the stream should no longer be polled.

The unordered data carried by this stream Read more

The type ordered by this stream. Read more

Attempt to pull out the next value of this stream, registering the current task for wakeup if needed, and returning NoneBefore if it is known that the stream will not produce any more values ordered before the given point. 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 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.