pub struct SystemRunner { /* private fields */ }Expand description
A configured system that has not yet started its event loop.
Implementations§
Source§impl SystemRunner
impl SystemRunner
Sourcepub fn run_until_stop(self) -> Result<()>
pub fn run_until_stop(self) -> Result<()>
Runs the event loop until System::stop() is called.
Sourcepub fn run<F>(self, f: F) -> Result<()>
pub fn run<F>(self, f: F) -> Result<()>
Runs f, then drives the event loop until System::stop() is called.
Trait Implementations§
Auto Trait Implementations§
impl !RefUnwindSafe for SystemRunner
impl !Send for SystemRunner
impl !Sync for SystemRunner
impl !UnwindSafe for SystemRunner
impl Freeze for SystemRunner
impl Unpin for SystemRunner
impl UnsafeUnpin 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