mongodb 2.8.2

The official MongoDB driver for Rust
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
mod event;
mod rtt;
mod sdam;

use std::time::Duration;

pub use event::TestSdamEvent;

#[allow(clippy::cast_possible_truncation)]
pub(crate) fn f64_ms_as_duration(f: f64) -> Duration {
    Duration::from_micros((f * 1000.0) as u64)
}