Struct rotor::mio::deprecated::UnixStream
[−]
[src]
pub struct UnixStream { /* fields omitted */ }
Methods
impl UnixStream
fn connect<P>(path: &P) -> Result<UnixStream, Error> where P: AsRef<Path> + ?Sized
fn try_clone(&self) -> Result<UnixStream, Error>
fn shutdown(&self, how: Shutdown) -> Result<usize, 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 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>
Trait Implementations
impl AsRawFd for UnixStream
impl Debug for UnixStream
fn fmt(&self, __arg_0: &mut Formatter) -> Result<(), Error>
Formats the value using the given formatter.
impl From<UnixSocket> for UnixStream
fn from(sys: UnixSocket) -> UnixStream
Performs the conversion.