Struct rustuv::pipe::PipeListener
pub struct PipeListener { home: HomeHandle, pipe: *uv_pipe_t, // some fields omitted }
Fields
home | |
pipe |
Methods
impl PipeListener
fn bind(io: &mut UvIoFactory, name: &CString) -> Result<~PipeListener, UvError>
Trait Implementations
impl RtioUnixListener for PipeListener
fn listen(~self) -> Result<~RtioUnixAcceptor<Send>, IoError>
impl HomingIO for PipeListener
fn home<'r>(&'r mut self) -> &'r mut HomeHandle
fn go_to_IO_home(&mut self) -> uint
This function will move tasks to run on their home I/O scheduler. Note that this function does not pin the task to the I/O scheduler, but rather it simply moves it to running on the I/O scheduler.
fn fire_homing_missile(&mut self) -> HomingMissile
Fires a single homing missile, returning another missile targeted back at the original home of this task. In other words, this function will move the local task to its I/O scheduler and then return an RAII wrapper which will return the task home.