pub fn duration_ns_to_duration(v: i64) -> TimeDelta
converts a i64 representing a duration(ns) to Duration
i64
duration(ns)
Duration