Enum ordered_stream::PollResult[][src]

pub enum PollResult<Ordering, Data> {
    Item {
        data: Data,
        ordering: Ordering,
    },
    NoneBefore,
    Terminated,
}
Expand description

The result of a OrderedStream::poll_next_before operation.

Variants

Item

An item with a corresponding ordering token.

Fields of Item

data: Dataordering: Ordering
NoneBefore

This stream will not return any items prior to the given point.

Terminated

This stream is terminated and should not be polled again.

Implementations

Extract the data from the result.

Extract the item from the result.

Apply a closure to the data.

Extract the error of a Result item.

Extract the error and ordering from a Result item.

Trait Implementations

Formats the value using the given formatter. 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.