pub fn duration_to_str(d: Duration) -> String
Expand description

Serialize a std::time::Duration to String.