[][src]Function moxie::load_once_with

pub fn load_once_with<Fut, Output, Ret>(
    init: impl FnOnce() -> Fut,
    with: impl FnOnce(&Output) -> Ret
) -> Poll<Ret> where
    Fut: Future<Output = Output> + 'static,
    Output: 'static,
    Ret: 'static, 

Calls load_with but never re-initializes the loading future.

Environment Expectations

This function requires the following types to be visible to illicit::get and will panic otherwise: