[][src]Struct mio::unix::UnixStream

pub struct UnixStream { /* fields omitted */ }

Methods

impl UnixStream[src]

pub fn connect<P: AsRef<Path> + ?Sized>(path: &P) -> Result<UnixStream>[src]

pub fn try_clone(&self) -> Result<UnixStream>[src]

pub fn read_recv_fd(&mut self, buf: &mut [u8]) -> Result<(usize, Option<RawFd>)>[src]

pub fn try_read_recv_fd(
    &mut self,
    buf: &mut [u8]
) -> Result<Option<(usize, Option<RawFd>)>>
[src]

pub fn try_read_buf_recv_fd<B: MutBuf>(
    &mut self,
    buf: &mut B
) -> Result<Option<(usize, Option<RawFd>)>>
[src]

pub fn write_send_fd(&mut self, buf: &[u8], fd: RawFd) -> Result<usize>[src]

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

pub fn try_write_buf_send_fd<B: Buf>(
    &mut self,
    buf: &mut B,
    fd: RawFd
) -> Result<Option<usize>>
[src]

Trait Implementations

impl Evented for UnixStream[src]

impl Debug for UnixStream[src]

impl Read for UnixStream[src]

impl Write for UnixStream[src]

impl AsRawFd for UnixStream[src]

impl FromRawFd for UnixStream[src]

Auto Trait Implementations

impl Send for UnixStream

impl Sync for UnixStream

impl Unpin for UnixStream

impl UnwindSafe for UnixStream

impl RefUnwindSafe for UnixStream

Blanket Implementations

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]