pub trait IntoNanoseconds { // Required method fn into_nanos(self) -> u64; }
Type which can be converted into a nanosecond representation.
This allows users of Mock to increment/decrement the time both with raw integer values and the more convenient Duration type.
Mock
Duration