Function etime::expect_time[][src]

pub fn expect_time<F: FnOnce(Duration)>(
    val: Duration,
    expect: Range<Duration>,
    on_failed: F
)