fast_time 0.1.24

An efficient low-precision timestamp source suitable for high-frequency querying
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#![cfg_attr(coverage_nightly, coverage(off))]

use mockall::mock;

use crate::pal::{MockTimeSource, Platform};

mock! {
    #[derive(Debug)]
    pub Platform {
    }

    impl Platform for Platform {
        type TimeSource = MockTimeSource;

        fn new_time_source(&self) -> MockTimeSource;
    }
}