Struct rquickjs_core::Idle[][src]

pub struct Idle(_);
Expand description

The idle awaiting future

Trait Implementations

Returns the “default value” for a type. Read more

The type of value produced on completion.

Attempt to resolve the future to a final value, registering the current task for wakeup if the value is not yet available. 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.

This is supported on crate feature unstable only.

Returns a Future that delays execution for a specified time. Read more

This is supported on crate feature unstable only.

Flatten out the execution of this future when the result itself can be converted into another future. Read more

This is supported on crate feature unstable only.

Waits for one of two similarly-typed futures to complete. Read more

This is supported on crate feature unstable only.

Waits for one of two similarly-typed fallible futures to complete. Read more

This is supported on crate features unstable or docs only.

Waits for two similarly-typed futures to complete. Read more

This is supported on crate features unstable or docs only.

Waits for two similarly-typed fallible futures to complete. Read more

This is supported on crate features default and unstable, or crate feature docs only.

Waits for both the future and a timeout, if the timeout completes before the future, it returns an TimeoutError. Read more

A convenience for calling Future::poll() on !Unpin types.

Returns the result of self or other future, preferring self if both are ready. Read more

This is supported on crate feature std only.

Returns the result of self or other future, with no preference if both are ready. Read more

This is supported on crate feature std only.

Catches panics while polling the future. Read more

This is supported on crate feature alloc only.

Boxes the future and changes its type to dyn Future + Send + 'a. Read more

This is supported on crate feature alloc only.

Boxes the future and changes its type to dyn Future + 'a. Read more

Performs the conversion.

🔬 This is a nightly-only experimental API. (into_future)

The output that the future will produce on completion.

🔬 This is a nightly-only experimental API. (into_future)

Which kind of future are we turning this into?

🔬 This is a nightly-only experimental API. (into_future)

Creates a future from a value.

The type of value produced on completion.

Which kind of future are we turning this into?

Create a future from a value

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.