Struct mio::unix::PipeWriter
[−]
[src]
pub struct PipeWriter { /* fields omitted */ }
Trait Implementations
impl Debug for PipeWriter
[src]
impl Write for PipeWriter
[src]
fn write(&mut self, buf: &[u8]) -> Result<usize>
Write a buffer into this object, returning how many bytes were written. Read more
fn flush(&mut self) -> Result<()>
Flush this output stream, ensuring that all intermediately buffered contents reach their destination. Read more
fn write_all(&mut self, buf: &[u8]) -> Result<(), Error>
1.0.0
Attempts to write an entire buffer into this write. Read more
fn write_fmt(&mut self, fmt: Arguments) -> Result<(), Error>
1.0.0
Writes a formatted string into this writer, returning any error encountered. Read more
fn by_ref(&mut self) -> &mut Self
1.0.0
Creates a "by reference" adaptor for this instance of Write
. Read more
impl<'a> Write for &'a PipeWriter
[src]
fn write(&mut self, buf: &[u8]) -> Result<usize>
Write a buffer into this object, returning how many bytes were written. Read more
fn flush(&mut self) -> Result<()>
Flush this output stream, ensuring that all intermediately buffered contents reach their destination. Read more
fn write_all(&mut self, buf: &[u8]) -> Result<(), Error>
1.0.0
Attempts to write an entire buffer into this write. Read more
fn write_fmt(&mut self, fmt: Arguments) -> Result<(), Error>
1.0.0
Writes a formatted string into this writer, returning any error encountered. Read more
fn by_ref(&mut self) -> &mut Self
1.0.0
Creates a "by reference" adaptor for this instance of Write
. Read more
impl Evented for PipeWriter
[src]
fn register(
&self,
selector: &mut Selector,
token: Token,
interest: EventSet,
opts: PollOpt
) -> Result<()>
&self,
selector: &mut Selector,
token: Token,
interest: EventSet,
opts: PollOpt
) -> Result<()>
fn reregister(
&self,
selector: &mut Selector,
token: Token,
interest: EventSet,
opts: PollOpt
) -> Result<()>
&self,
selector: &mut Selector,
token: Token,
interest: EventSet,
opts: PollOpt
) -> Result<()>
fn deregister(&self, selector: &mut Selector) -> Result<()>
impl From<Io> for PipeWriter
[src]
fn from(io: Io) -> PipeWriter
Performs the conversion.
impl AsRawFd for PipeWriter
[src]
impl FromRawFd for PipeWriter
[src]
unsafe fn from_raw_fd(fd: RawFd) -> PipeWriter
Constructs a new instance of Self
from the given raw file descriptor. Read more