Trait quanta::IntoNanoseconds[][src]

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

Implementations on Foreign Types

Implementors