[src]

Trait rustuv::UvHandle

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) -> ~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) -> ~Self

fn close_async_(&mut self)

fn close(&mut self)

Implementors