1
2
3
4
5
6
7
8
9
use heim_common::prelude::*;

use crate::sys;
use crate::units::Time;

/// Returns future which resolves into [Time] amount from the system boot.
pub fn uptime() -> impl Future<Item = Time, Error = Error> {
    sys::uptime()
}