pub(crate) fn attempt_fallbacks( fallbacks: Vec<Box<dyn Fn() -> Result<i32>>>, ) -> Result<i32>
For a set of ordered commands to attempt, gracefully cycle through them until one of them works