pub struct SystemRunner { /* private fields */ }Expand description
Drives the actor system event loop; block on SystemRunner::run to keep the system alive until shutdown.
Implementations§
Source§impl SystemRunner
impl SystemRunner
Sourcepub async fn run(&mut self) -> ShutdownReason
pub async fn run(&mut self) -> ShutdownReason
Runs the system event loop until shutdown, returning the ShutdownReason for use as a process exit code.
Auto Trait Implementations§
impl Freeze for SystemRunner
impl RefUnwindSafe for SystemRunner
impl Send for SystemRunner
impl Sync for SystemRunner
impl Unpin for SystemRunner
impl UnsafeUnpin 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