Struct libpulse_binding::mainloop::events::timer::TimeEventRef [−][src]
pub struct TimeEventRef<T: 'static> where
T: MainloopInnerType, { /* fields omitted */ }
A reference to a timer event source, provided to the callback, allowing modification within the callback itself
Methods
impl<T> TimeEventRef<T> where
T: MainloopInnerType,
[src]
impl<T> TimeEventRef<T> where
T: MainloopInnerType,
pub fn restart(&mut self, t: &UnixTs)
[src]
pub fn restart(&mut self, t: &UnixTs)
Restart this timer event source (whether still running or already expired) with a new Unix time.
pub fn restart_rt(&mut self, t: MonotonicTs)
[src]
pub fn restart_rt(&mut self, t: MonotonicTs)
Restart this timer event source (whether still running or already expired) with a new monotonic time.
Auto Trait Implementations
impl<T> !Send for TimeEventRef<T>
impl<T> !Send for TimeEventRef<T>
impl<T> !Sync for TimeEventRef<T>
impl<T> !Sync for TimeEventRef<T>