Function futures_util::future::assert_future

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