Struct actix_rt::Builder [−][src]
pub struct Builder { /* fields omitted */ }
Expand description
Builder struct for a actix 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