Struct actix_rt::SystemRunner
source · pub struct SystemRunner { /* private fields */ }
Expand description
Runner that keeps a System’s event loop alive until stop message is received.
Implementations§
source§impl SystemRunner
impl SystemRunner
sourcepub fn run_with_code(self) -> Result<i32>
pub fn run_with_code(self) -> Result<i32>
Runs the event loop until stopped, returning the exit code.