Struct rustuv::pipe::PipeWatcher[src]

pub struct PipeWatcher {
    // some fields omitted
}

Methods

impl PipeWatcher

fn new(io: &mut UvIoFactory, ipc: bool) -> PipeWatcher

fn new_home(loop_: &Loop, home: HomeHandle, ipc: bool) -> PipeWatcher

fn open(io: &mut UvIoFactory, file: c_int) -> Result<PipeWatcher, UvError>

fn connect(io: &mut UvIoFactory, name: &CString, timeout: Option<u64>) -> Result<PipeWatcher, UvError>

fn handle(&self) -> *uv_pipe_t

Trait Implementations

impl RtioPipe for PipeWatcher

fn read(&mut self, buf: &mut [u8]) -> IoResult<uint>

fn write(&mut self, buf: &[u8]) -> IoResult<()>

fn clone(&self) -> Box<RtioPipe + Send>

fn close_read(&mut self) -> IoResult<()>

fn close_write(&mut self) -> IoResult<()>

fn set_timeout(&mut self, timeout: Option<u64>)

fn set_read_timeout(&mut self, ms: Option<u64>)

fn set_write_timeout(&mut self, ms: Option<u64>)

impl UvHandle<uv_pipe_t> for PipeWatcher

fn uv_handle(&self) -> *uv_pipe_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)

impl Drop for PipeWatcher

fn drop(&mut self)