pub struct Uptime {
pub system: f64,
pub idle: f64,
}Expand description
Struct to represent values in /proc/uptime.
Fields§
§system: f64The uptime of the system (seconds).
idle: f64The amount of time spent in idle process (seconds).
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Uptime
impl RefUnwindSafe for Uptime
impl Send for Uptime
impl Sync for Uptime
impl Unpin for Uptime
impl UnsafeUnpin for Uptime
impl UnwindSafe for Uptime
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more