1 2 3 4 5 6 7 8 9 10
use heim_common::prelude::*; use crate::{sys, Time}; /// Returns [Time] amount from the system boot. /// /// [Time]: ./struct.Time.html pub async fn uptime() -> Result<Time> { sys::uptime().await }
1 2 3 4 5 6 7 8 9 10
use heim_common::prelude::*; use crate::{sys, Time}; /// Returns [Time] amount from the system boot. /// /// [Time]: ./struct.Time.html pub async fn uptime() -> Result<Time> { sys::uptime().await }