pub struct SpawnedCall<R> { /* private fields */ }Expand description
A call spawned on a device that may still be running.
Implementations§
Source§impl<R> SpawnedCall<R>
impl<R> SpawnedCall<R>
Sourcepub fn join(self) -> Result<R, CallError>
pub fn join(self) -> Result<R, CallError>
Blocks until the call returns, failing as
submit_blocking does.
Auto Trait Implementations§
impl<R> !RefUnwindSafe for SpawnedCall<R>
impl<R> !Sync for SpawnedCall<R>
impl<R> !UnwindSafe for SpawnedCall<R>
impl<R> Forget for SpawnedCall<R>
impl<R> Freeze for SpawnedCall<R>where
SpawnedState<R>: Freeze,
impl<R> Send for SpawnedCall<R>where
SpawnedState<R>: Send,
impl<R> Unpin for SpawnedCall<R>where
SpawnedState<R>: Unpin,
impl<R> UnsafeUnpin for SpawnedCall<R>where
SpawnedState<R>: UnsafeUnpin,
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