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