Struct smbioslib::io::Sink 1.0.0[−][src]
pub struct Sink { /* fields omitted */ }A writer which will move data into the void.
This struct is generally created by calling sink. Please
see the documentation of sink() for more details.
Trait Implementations
impl<'_> Write for &'_ Sink1.48.0[src]
impl<'_> Write for &'_ Sink1.48.0[src]pub fn write(&mut self, buf: &[u8]) -> Result<usize, Error>[src]
pub fn write(&mut self, buf: &[u8]) -> Result<usize, Error>[src]Write a buffer into this writer, returning how many bytes were written. Read more
pub fn is_write_vectored(&self) -> bool[src]
pub fn is_write_vectored(&self) -> bool[src]can_vector)Determines if this Writer has an efficient write_vectored
implementation. Read more
pub fn flush(&mut self) -> Result<(), Error>[src]
pub fn flush(&mut self) -> Result<(), Error>[src]Flush this output stream, ensuring that all intermediately buffered contents reach their destination. Read more
fn write_all(&mut self, buf: &[u8]) -> Result<(), Error>[src]
fn write_all(&mut self, buf: &[u8]) -> Result<(), Error>[src]Attempts to write an entire buffer into this writer. Read more
fn write_all_vectored(&mut self, bufs: &mut [IoSlice<'_>]) -> Result<(), Error>[src]
fn write_all_vectored(&mut self, bufs: &mut [IoSlice<'_>]) -> Result<(), Error>[src]write_all_vectored)Attempts to write multiple buffers into this writer. Read more
impl Write for Sink[src]
impl Write for Sink[src]pub fn write(&mut self, buf: &[u8]) -> Result<usize, Error>[src]
pub fn write(&mut self, buf: &[u8]) -> Result<usize, Error>[src]Write a buffer into this writer, returning how many bytes were written. Read more
pub fn is_write_vectored(&self) -> bool[src]
pub fn is_write_vectored(&self) -> bool[src]can_vector)Determines if this Writer has an efficient write_vectored
implementation. Read more
pub fn flush(&mut self) -> Result<(), Error>[src]
pub fn flush(&mut self) -> Result<(), Error>[src]Flush this output stream, ensuring that all intermediately buffered contents reach their destination. Read more
fn write_all(&mut self, buf: &[u8]) -> Result<(), Error>[src]
fn write_all(&mut self, buf: &[u8]) -> Result<(), Error>[src]Attempts to write an entire buffer into this writer. Read more
fn write_all_vectored(&mut self, bufs: &mut [IoSlice<'_>]) -> Result<(), Error>[src]
fn write_all_vectored(&mut self, bufs: &mut [IoSlice<'_>]) -> Result<(), Error>[src]write_all_vectored)Attempts to write multiple buffers into this writer. Read more