Struct ntex::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
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
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more