Struct smithay_client_toolkit::data_device::WritePipe [−][src]
pub struct WritePipe { /* fields omitted */ }
A file descriptor that can only be written to
Trait Implementations
impl Write for WritePipe
[src]
impl Write for WritePipe
fn write(&mut self, buf: &[u8]) -> Result<usize>
[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<()>
[src]
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[src]
fn write_all(&mut self, buf: &[u8]) -> Result<(), Error>
1.0.0
[src]Attempts to write an entire buffer into this write. Read more
fn write_fmt(&mut self, fmt: Arguments) -> Result<(), Error>
1.0.0[src]
fn write_fmt(&mut self, fmt: Arguments) -> Result<(), Error>
1.0.0
[src]Writes a formatted string into this writer, returning any error encountered. Read more
ⓘImportant traits for &'a mut Rfn by_ref(&mut self) -> &mut Self
1.0.0[src]
ⓘImportant traits for &'a mut R
fn by_ref(&mut self) -> &mut Self
1.0.0
[src]Creates a "by reference" adaptor for this instance of Write
. Read more
impl FromRawFd for WritePipe
[src]
impl FromRawFd for WritePipe
ⓘImportant traits for WritePipeunsafe fn from_raw_fd(fd: RawFd) -> WritePipe
[src]
ⓘImportant traits for WritePipe
unsafe fn from_raw_fd(fd: RawFd) -> WritePipe
Constructs a new instance of Self
from the given raw file descriptor. Read more
impl AsRawFd for WritePipe
[src]
impl AsRawFd for WritePipe
impl IntoRawFd for WritePipe
[src]
impl IntoRawFd for WritePipe
fn into_raw_fd(self) -> RawFd
[src]
fn into_raw_fd(self) -> RawFd
Consumes this object, returning the raw underlying file descriptor. Read more