pub fn serialize<S: Serializer>( value: &Duration, serializer: S, ) -> Result<S::Ok, S::Error>
Round-trips as the millisecond count, so a written config stays valid.
Whatever the serializer reports.