pub struct RuntimeOpen { /* private fields */ }Expand description
One RUNTIME_OPEN_METHODS request, parsed but not yet started. See
HarnessSessionService::runtime_open for why it exists apart from
HarnessSessionService::handle_async.
Implementations§
Source§impl RuntimeOpen
impl RuntimeOpen
Sourcepub async fn open(self) -> OpenedRuntime
pub async fn open(self) -> OpenedRuntime
Do the waiting: spawn or join the program and complete its handshake,
bounded by RUNTIME_OPEN_DEADLINE. Touches no service state, so this
runs on any task.
Auto Trait Implementations§
impl Freeze for RuntimeOpen
impl RefUnwindSafe for RuntimeOpen
impl Send for RuntimeOpen
impl Sync for RuntimeOpen
impl Unpin for RuntimeOpen
impl UnsafeUnpin for RuntimeOpen
impl UnwindSafe for RuntimeOpen
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