pub struct UseFuture<T> { /* private fields */ }

Implementations

Restart the future with new dependencies.

Will not cancel the previous future, but will ignore any values that it generates.

Forcefully cancel a future

Return any value, even old values if the future has not yet resolved.

If the future has never completed, the returned value will be None.

Get the ID of the future in Dioxus’ internal scheduler

Get the current stateof the future.

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.