pub fn format_duration(duration: Duration) -> String
Produces a human readable timeout string from duration.