pub fn duration_millis(duration: Duration) -> Option<i64>
Validate the millisecond wire boundary without truncating a positive sub-millisecond duration or overflowing the signed store representation.