[−][src]Function async_metronome::run_opt
pub fn run_opt<T, O>(test: T, options: Options) -> JoinHandleWrapper<O>ⓘwhereNotable traits for JoinHandleWrapper<T>
impl<T> Future for JoinHandleWrapper<T> type Output = T;
O: Send + 'static,
T: Future<Output = O> + Send + 'static,
Spawns the topmost future of the test case.
Internally, it creates a test context
that is
propagated to subsequestly spawned futures.
Panics
Will panic if test context is already created.