hyper_util::common::lazy

Function lazy

source
pub(crate) fn lazy<F, R>(func: F) -> Lazy<F, R> 
where F: FnOnce() -> R, R: Future + Unpin,