futures_util::future

Function assert_future

Source
pub(crate) fn assert_future<T, F>(future: F) -> F
where F: Future<Output = T>,