pub struct Builder { /* fields omitted */ }
Expand description
Builder struct for a ntex runtime.
Either use Builder::build
to create a system and start actors.
Alternatively, use Builder::run
to start the tokio runtime and
run a function in its context.
Implementations
Sets the option ‘stop_on_panic’ which controls whether the System is stopped when an uncaught panic is thrown from a worker thread.
Defaults to false.
Create new System.
This method panics if it can not create tokio runtime
Auto Trait Implementations
impl RefUnwindSafe for Builder
impl UnwindSafe for Builder
Blanket Implementations
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more