[][src]Function moxie::load_once

pub fn load_once<Fut, Output>(init: impl FnOnce() -> Fut) -> Poll<Output> where
    Fut: Future<Output = Output> + 'static,
    Output: Clone + 'static, 

Calls load_with, never re-initializes the loading future, and clones the returned value on each revision once the future has completed and returned.

Environment Expectations

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