pub struct RuntimeWrapper<'a>(_);
Expand description

Wrapper for anything that implements InternalRuntime, used to add a Runtime impl.

Trait Implementations§

Adds a new future to the queue to be completed.
Adds a new future to the queue to be completed and returns a future waiting for the added future’s completion.
Asynchronously sleeps
Stops the runtime. This does not exit the process.
Adds a new future to the queue to be completed.
Adds a new future to the queue to be completed and returns a future waiting for the added future’s completion.
Asynchronously sleeps some amount of milliseconds

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.