Struct rustuv::timer::TimerWatcher[src]
pub struct TimerWatcher {
pub handle: *uv_timer_t,
// some fields omitted
}Fields
handle |
pub struct TimerWatcher {
pub handle: *uv_timer_t,
// some fields omitted
}handle |
impl TimerWatcherfn new(io: &mut UvIoFactory) -> Box<TimerWatcher>fn new_home(loop_: &Loop, home: HomeHandle) -> TimerWatcherfn start(&mut self, f: uv_timer_cb, msecs: u64, period: u64)fn stop(&mut self)unsafe fn set_data<T>(&mut self, data: *T)impl UvHandle<uv_timer_t> for TimerWatcherfn uv_handle(&self) -> *uv_timer_tfn uv_loop(&self) -> Loopfn alloc(_: Option<Self>, ty: uv_handle_type) -> *Tunsafe fn from_uv_handle<'a>(h: &'a *T) -> &'a mut Selffn install(~self) -> Box<Self>fn close_async_(&mut self)fn close(&mut self)impl RtioTimer for TimerWatcherfn sleep(&mut self, msecs: u64)fn oneshot(&mut self, msecs: u64, cb: Box<Callback + Send>)fn period(&mut self, msecs: u64, cb: Box<Callback + Send>)impl Drop for TimerWatcherfn drop(&mut self)
Prefix searches with a type followed by a colon (e.g.
fn:) to restrict the search to a given type.
Accepted types are: fn, mod,
struct (or str), enum,
trait, typedef (or
tdef).