Function hyper::common::lazy::lazy

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