Struct actix_rt::System [−][src]
pub struct System { /* fields omitted */ }
Expand description
System is a runtime manager.
Implementations
Build a new system with a customized tokio runtime.
This allows to customize the runtime. See struct level docs on
Builder
for more information.
Create new system.
This method panics if it can not create tokio runtime
Create new system using provided tokio Handle.
This method panics if it can not spawn system arbiter
Execute function with system reference.
Stop the system with a particular exit code.
Return status of ‘stop_on_panic’ option which controls whether the System is stopped when an uncaught panic is thrown from a worker thread.
Trait Implementations
Auto Trait Implementations
impl !RefUnwindSafe for System
impl !UnwindSafe for System
Blanket Implementations
Mutably borrows from an owned value. Read more