Struct mio::unix::pipe::Sender [−][src]
pub struct Sender { /* fields omitted */ }
Sending end of an Unix pipe.
See new
for documentation, including examples.
Implementations
impl Sender
[src]
impl Sender
[src]pub fn set_nonblocking(&self, nonblocking: bool) -> Result<()>
[src]
Set the Sender
into or out of non-blocking mode.
Trait Implementations
impl From<ChildStdin> for Sender
[src]
impl From<ChildStdin> for Sender
[src]Notes
The underlying pipe is not set to non-blocking.
impl Write for Sender
[src]
impl Write for Sender
[src]fn write(&mut self, buf: &[u8]) -> Result<usize>
[src]
fn write_vectored(&mut self, bufs: &[IoSlice<'_>]) -> Result<usize>
[src]
fn flush(&mut self) -> Result<()>
[src]
pub fn is_write_vectored(&self) -> bool
[src]
pub fn write_all(&mut self, buf: &[u8]) -> Result<(), Error>
1.0.0[src]
pub fn write_all_vectored(
&mut self,
bufs: &mut [IoSlice<'_>]
) -> Result<(), Error>
[src]
&mut self,
bufs: &mut [IoSlice<'_>]
) -> Result<(), Error>
pub fn write_fmt(&mut self, fmt: Arguments<'_>) -> Result<(), Error>
1.0.0[src]
pub fn by_ref(&mut self) -> &mut Self
1.0.0[src]
impl Write for &Sender
[src]
impl Write for &Sender
[src]fn write(&mut self, buf: &[u8]) -> Result<usize>
[src]
fn write_vectored(&mut self, bufs: &[IoSlice<'_>]) -> Result<usize>
[src]
fn flush(&mut self) -> Result<()>
[src]
pub fn is_write_vectored(&self) -> bool
[src]
pub fn write_all(&mut self, buf: &[u8]) -> Result<(), Error>
1.0.0[src]
pub fn write_all_vectored(
&mut self,
bufs: &mut [IoSlice<'_>]
) -> Result<(), Error>
[src]
&mut self,
bufs: &mut [IoSlice<'_>]
) -> Result<(), Error>