[−][src]Trait new_home_application::application::application_framework::BootApplication
Used to boot the Application
Should only be used once
Required methods
fn boot(&mut self) -> Result<(), AppError>
Prepares the Application
to be run
The boot method should only be callable once, a second call should result in an error
fn run(&self) -> Result<(), AppError>
The run
method will make use of the objects created in the boot
process
It can be run in multiple threads to handle multiple clients at the same time
fn multi_run(self, thread_count: i32) -> Result<(), AppError>
Calls the run
method in multiple threads.
Count of threads can be given with the thread_count
argument