qubit-clock 0.12.1

Injectable wall and monotonic clocks with deterministic timers
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
// =============================================================================
//    Copyright (c) 2025 - 2026 Haixing Hu.
//
//    SPDX-License-Identifier: Apache-2.0
//
//    Licensed under the Apache License, Version 2.0.
// =============================================================================

use qubit_clock::TimerFuture;
use std::future;

#[test]
fn test_timer_future_is_send_and_static() {
    fn assert_send_static<T: Send + 'static>(_: T) {}

    let future: TimerFuture = Box::pin(future::pending());
    assert_send_static(future);
}