Home
last modified time | relevance | path

Searched refs:TimerSpec (Results 1 - 3 of 3) sorted by relevance

/third_party/rust/crates/nix/src/sys/
H A Dtimerfd.rs31 use crate::sys::time::timer::TimerSpec;
145 let timerspec: TimerSpec = expiration.into(); in set()
160 let mut timerspec = TimerSpec::none(); in get()
184 TimerSpec::none().as_ref(), in unset()
H A Dtimer.rs59 use crate::sys::time::timer::TimerSpec;
133 let timerspec: TimerSpec = expiration.into(); in set()
148 let mut timerspec = TimerSpec::none(); in get()
H A Dtime.rs34 pub(crate) struct TimerSpec(libc::itimerspec);
36 impl TimerSpec { impls
45 impl AsMut<libc::itimerspec> for TimerSpec {
51 impl AsRef<libc::itimerspec> for TimerSpec {
57 impl From<Expiration> for TimerSpec {
58 fn from(expiration: Expiration) -> TimerSpec { in from()
60 Expiration::OneShot(t) => TimerSpec(libc::itimerspec { in from()
65 TimerSpec(libc::itimerspec { in from()
70 Expiration::Interval(t) => TimerSpec(libc::itimerspec { in from()
111 impl From<TimerSpec> fo
[all...]

Completed in 2 milliseconds