Struct mio::deprecated::unix::PipeWriter
[−]
[src]
pub struct PipeWriter { /* fields omitted */ }
Methods
impl PipeWriter
[src]
fn from_stdin(stdin: ChildStdin) -> Result<Self>
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,
poll: &Poll,
token: Token,
interest: Ready,
opts: PollOpt)
-> Result<()>
poll: &Poll,
token: Token,
interest: Ready,
opts: PollOpt)
-> Result<()>
fn reregister(&self,
poll: &Poll,
token: Token,
interest: Ready,
opts: PollOpt)
-> Result<()>
poll: &Poll,
token: Token,
interest: Ready,
opts: PollOpt)
-> Result<()>
fn deregister(&self, poll: &Poll) -> Result<()>
impl From<Io> for PipeWriter
[src]
fn from(io: Io) -> PipeWriter
Performs the conversion.
impl IntoRawFd for PipeWriter
[src]
fn into_raw_fd(self) -> RawFd
Consumes this object, returning the raw underlying file descriptor. Read more
impl AsRawFd for PipeWriter
[src]
impl FromRawFd for PipeWriter
[src]
unsafe fn from_raw_fd(fd: RawFd) -> PipeWriter
Constructs a new instances of Self
from the given raw file descriptor. Read more