pub fn syscall_block_on<Fut, R>(syscall: &dyn Executor, fut: Fut) -> R
where Fut: Future<Output = R> + Send + 'static, R: Send + 'static,
Available on crate feature executor only.
Expand description

Run a future to completion on the current thread.

This function will block the caller until the given future has completed.