Struct actix_rt::SystemRunner

source ·
pub struct SystemRunner { /* private fields */ }
Expand description

Runner that keeps a System’s event loop alive until stop message is received.

Implementations§

Starts event loop and will return once System is stopped.

Runs the event loop until stopped, returning the exit code.

Runs the provided future, blocking the current thread until the future completes.

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

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.