tokio_test::clock
pub fn mock_at<F, R>(instant: Instant, f: F) -> R where F: FnOnce(&mut Handle) -> R,
Run the provided closure with a MockClock that starts at the provided Instant.
MockClock
Instant