[−][src]Trait metrics_core::AsNanoseconds
A value which can be converted into a nanosecond representation.
This trait allows us to interchangably accept raw integer time values, ones already in
nanoseconds, as well as the more conventional Duration which is a result of getting the
difference between two Instants.