pub enum Progress<Budget, F> where
    Budget: Budgetable,
    F: Future
{ NoBudget(IncompleteFuture<Budget, F>), Complete(BudgetResult<F::Output, Budget>), }
Expand description

The progress of a future’s execution.

Variants

NoBudget(IncompleteFuture<Budget, F>)

The future was interrupted because it requested to spend more budget than was available.

Complete(BudgetResult<F::Output, Budget>)

The future has completed.

Implementations

Continues executing the contained future until it is completed.

This function will never return if the future enters an infinite loop or deadlocks, regardless of whether the budget is exhausted or not.

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

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

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.