Struct rotor::mio::unix::UnixStream
[−]
[src]
pub struct UnixStream { /* fields omitted */ }
Methods
impl UnixStream
[src]
fn connect<P>(path: &P) -> Result<UnixStream, Error> where
P: AsRef<Path> + ?Sized,
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>
&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>
&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,
&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>
&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,
&mut self,
buf: &mut B,
fd: i32
) -> Result<Option<usize>, Error> where
B: Buf,
Trait Implementations
impl AsRawFd for UnixStream
[src]
impl Write for UnixStream
[src]
impl Evented for UnixStream
[src]
fn register(
&self,
selector: &mut Selector,
token: Token,
interest: EventSet,
opts: PollOpt
) -> Result<(), Error>
&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>
&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
[src]
fn from(sys: UnixSocket) -> UnixStream
Performs the conversion.