1 2 3 4 5 6 7 8 9 10 11
use crate::progress::{CallbackType, ProgressInfo}; /// Get a progress info struct with a message pub fn get_progress_info(message: &str) -> ProgressInfo { ProgressInfo { progress: 0, total: 0, message: message.to_string(), callback_type: CallbackType::Info, } }