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
sourceimpl 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
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more