pub trait IntoNanoseconds {
    fn into_nanos(self) -> u64;
}
Expand description

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.

Required Methods

Consumes this value, converting it to a nanosecond representation.

Implementations on Foreign Types

Implementors