Struct rotor::mio::unix::UnixStream
[−]
[src]
pub struct UnixStream { // some fields omitted }
pub struct UnixStream { // some fields omitted }
impl UnixStream
fn connect<P>(path: &P) -> Result<UnixStream, Error> where P: AsRef<Path> + ?Sized
fn try_clone(&self) -> Result<UnixStream, Error>
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<usize, Error>
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
impl FromRawFd for UnixStream
unsafe fn from_raw_fd(fd: i32) -> UnixStream
impl AsRawFd for UnixStream
impl From<UnixSocket> for UnixStream
fn from(sys: UnixSocket) -> UnixStream
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 Write for UnixStream
impl Read for UnixStream
impl Debug for UnixStream