We would like to allow Rust to start the Seastar runtime.
In C++, the process of starting the runtime has a small number of steps:
First, app_template::seastar_options is created and set appropriately
The app_template is created, with seastar options passed as the first argument
Finally, app_template::run is called to start the application
We would like to offer a similar experience in Rust:
Options: for now let's only make it possible to set the application name, description and the number of shards. The properties should be settable via setters/getters.
AppTemplate: it should be possible to create it from Options and it should have only one method run which works analogously as the original app_template::run.
We would like to allow Rust to start the Seastar runtime.
In C++, the process of starting the runtime has a small number of steps:
app_template::seastar_options
is created and set appropriatelyapp_template
is created, with seastar options passed as the first argumentapp_template::run
is called to start the applicationWe would like to offer a similar experience in Rust:
Options
: for now let's only make it possible to set the application name, description and the number of shards. The properties should be settable via setters/getters.AppTemplate
: it should be possible to create it fromOptions
and it should have only one methodrun
which works analogously as the originalapp_template::run
.