pub fn load_resource<T, R, F>(
    root: &mut Cursive,
    title: &str,
    msg: &str,
    task: R,
    finish_task: F
)where
    T: Send + Sync + 'static,
    R: FnOnce() -> T + Send + Sync + 'static,
    F: FnOnce(&mut Cursive, T) + Send + Sync + 'static,
Expand description

Convenience function that shows a loading pop up