Struct rotor::mio::unix::UnixStream []

pub struct UnixStream {
    // some fields omitted
}

Methods

impl UnixStream

fn connect<P>(path: &P) -> Result<UnixStreamError> where P: AsRef<Path> + ?Sized

fn try_clone(&self) -> Result<UnixStreamError>

fn read_recv_fd(&mut self, buf: &mut [u8]) -> Result<(usize, Option<i32>)Error>

fn try_read_recv_fd(&mut self, buf: &mut [u8]) -> Result<Option<(usize, Option<i32>)>, Error>

fn try_read_buf_recv_fd<B>(&mut self, buf: &mut B) -> Result<Option<(usize, Option<i32>)>, Error> where B: MutBuf

fn write_send_fd(&mut self, buf: &[u8], fd: i32) -> Result<usizeError>

fn try_write_send_fd(&mut self, buf: &[u8], fd: i32) -> Result<Option<usize>, Error>

fn try_write_buf_send_fd<B>(&mut self, buf: &mut B, fd: i32) -> Result<Option<usize>, Error> where B: Buf

Trait Implementations

impl Debug for UnixStream

fn fmt(&self, __arg_0: &mut Formatter) -> Result<()Error>

Formats the value using the given formatter.

impl Read for UnixStream

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

impl Write for UnixStream

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

fn flush(&mut self) -> Result<()Error>

impl Evented for UnixStream

fn register(&self, selector: &mut Selector, token: Token, interest: EventSet, opts: PollOpt) -> Result<()Error>

fn reregister(&self, selector: &mut Selector, token: Token, interest: EventSet, opts: PollOpt) -> Result<()Error>

fn deregister(&self, selector: &mut Selector) -> Result<()Error>

impl From<UnixSocket> for UnixStream

fn from(sys: UnixSocket) -> UnixStream

Performs the conversion.

impl AsRawFd for UnixStream

fn as_raw_fd(&self) -> i32

impl FromRawFd for UnixStream

unsafe fn from_raw_fd(fd: i32) -> UnixStream