boulderopalscaleup.common.Duration.to_nsDuration.to_ns() Return the duration converted to nanoseconds. Raises TypeError – If the value cannot be exactly represented in nanoseconds.