kvarn_async::prelude::compact_str::core::task

Enum Poll

1.36.0 · source
pub enum Poll<T> {
    Ready(T),
    Pending,
}
Expand description

Indicates whether a value is available or if the current task has been scheduled to receive a wakeup instead.

This is returned by Future::poll.

Variants§

§1.36.0

Ready(T)

Represents that a value is immediately ready.

§1.36.0