Struct user_idle::UserIdle [−][src]
pub struct UserIdle { /* fields omitted */ }
Implementations
Get time in milliseconds
Note: Only MacOS provides this level of resolution,
other Operating Systems will provide the same value as
self.as_milliseconds() * 1_000_000
Get time in milliseconds
Note: Not all of the dbus screen savers provided
this level of resolution, in those cases this will
provide the same value as self.as_seconds() * 1000
Get time in seconds
Get time in minutes
Auto Trait Implementations
impl RefUnwindSafe for UserIdle
impl UnwindSafe for UserIdle