Function cli_batteries::run
source · [−]pub fn run<A, O, F, E>(version: Version, app: A) where
A: FnOnce(O) -> F,
O: Args,
F: Future<Output = Result<(), E>>,
E: Into<Report> + Send + Sync + 'static, Expand description
Run the program.