pub struct DetachedCall { /* private fields */ }Expand description
One detached request: the half that reads this service’s state already
done, and the half that waits not yet started. See
HarnessSessionService::detach and
HarnessSessionService::detach_runtime.
Implementations§
Source§impl DetachedCall
impl DetachedCall
Sourcepub async fn run(self) -> DetachedAnswer
pub async fn run(self) -> DetachedAnswer
Do the waiting and answer. Runs on any task: whatever this call needed from the service was taken before it left.
Auto Trait Implementations§
impl !RefUnwindSafe for DetachedCall
impl !Sync for DetachedCall
impl !UnwindSafe for DetachedCall
impl Freeze for DetachedCall
impl Send for DetachedCall
impl Unpin for DetachedCall
impl UnsafeUnpin for DetachedCall
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