PollResult

Type Alias PollResult 

Source
pub type PollResult<T, E> = Poll<Result<T, E>>;
Expand description

A type alias of Poll<Result<T, E>>.

Aliased Type§

pub enum PollResult<T, E> {
    Ready(Result<T, E>),
    Pending,
}

Variants§

§

Ready(Result<T, E>)

The task has just been finished with a returned value of T.

§

Pending

The task is not ready and should be scheduled to be awoken by the executor.