pub fn format_duration(duration: Duration) -> String
Formats a std::time::Duration into a human-readable string.
std::time::Duration