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.
Trait Implementations§
Auto Trait Implementations§
impl !RefUnwindSafe for SystemRunner
impl !Send for SystemRunner
impl !Sync for SystemRunner
impl Unpin for SystemRunner
impl !UnwindSafe for SystemRunner
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more