Trait rustuv::UvHandle[src]
pub trait UvHandle<T> {
fn uv_handle(&self) -> *T;
fn uv_loop(&self) -> Loop { ... }
fn alloc(_: Option<Self>, ty: uv_handle_type) -> *T { ... }
unsafe fn from_uv_handle<'a>(h: &'a *T) -> &'a mut Self { ... }
fn install(~self) -> Box<Self> { ... }
fn close_async_(&mut self) { ... }
fn close(&mut self) { ... }
}A type that wraps a uv handle
Required Methods
fn uv_handle(&self) -> *T
Provided Methods
fn uv_loop(&self) -> Loop
fn alloc(_: Option<Self>, ty: uv_handle_type) -> *T
unsafe fn from_uv_handle<'a>(h: &'a *T) -> &'a mut Self
fn install(~self) -> Box<Self>
fn close_async_(&mut self)
fn close(&mut self)
Implementors
impl UvHandle<uv_tcp_t> for TcpWatcherimpl UvHandle<uv_tcp_t> for TcpListenerimpl UvHandle<uv_udp_t> for UdpWatcherimpl UvHandle<uv_idle_t> for IdleWatcherimpl UvHandle<uv_timer_t> for TimerWatcherimpl UvHandle<uv_async_t> for AsyncWatcherimpl UvHandle<uv_process_t> for Processimpl UvHandle<uv_pipe_t> for PipeWatcherimpl UvHandle<uv_pipe_t> for PipeListenerimpl UvHandle<uv_tty_t> for TtyWatcherimpl UvHandle<uv_signal_t> for SignalWatcher