[src]

Struct rustuv::async::AsyncWatcher

pub struct AsyncWatcher {
    handle: *uv_async_t,
    exit_flag: Exclusive<bool>,
}

Fields

handle
exit_flag

Methods

impl AsyncWatcher

fn new(loop_: &mut Loop, cb: ~Callback<Send>) -> AsyncWatcher

Trait Implementations

impl UvHandle<uv_async_t> for AsyncWatcher

fn uv_handle(&self) -> *uv_async_t

unsafe fn from_uv_handle<'a>(_: &'a *uv_async_t) -> &'a mut AsyncWatcher

fn uv_loop(&self) -> Loop

fn alloc(_: Option<Self>, ty: uv_handle_type) -> *T

fn install(~self) -> ~Self

fn close_async_(&mut self)

fn close(&mut self)

impl RemoteCallback for AsyncWatcher

fn fire(&mut self)

impl Drop for AsyncWatcher

fn drop(&mut self)