Enum runestick::Awaited[][src]

pub enum Awaited {
    Future(Shared<Future>),
    Select(Select),
}
Expand description

A stored await task.

Variants

Future

A future to be awaited.

Tuple Fields of Future

0: Shared<Future>
Select

A select to be awaited.

Tuple Fields of Select

0: Select

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.