Struct cluExtIO::EmptyWrite
source · pub struct EmptyWrite;
Expand description
An implementation of Trait Write
that does nothing.
Implementations
sourceimpl EmptyWrite
impl EmptyWrite
Trait Implementations
sourceimpl Clone for EmptyWrite
impl Clone for EmptyWrite
sourceimpl Debug for EmptyWrite
impl Debug for EmptyWrite
sourceimpl<'a> ExtWrite<'a> for EmptyWrite
impl<'a> ExtWrite<'a> for EmptyWrite
sourceimpl From<()> for EmptyWrite
impl From<()> for EmptyWrite
sourceimpl Write for EmptyWrite
impl Write for EmptyWrite
sourcefn write<'a>(&mut self, _buf: &'a [u8]) -> Result<usize>
fn write<'a>(&mut self, _buf: &'a [u8]) -> Result<usize>
Write a buffer into this writer, returning how many bytes were written. Read more
sourcefn flush(&mut self) -> Result<()>
fn flush(&mut self) -> Result<()>
Flush this output stream, ensuring that all intermediately buffered
contents reach their destination. Read more
sourcefn write_all<'a>(&mut self, _buf: &'a [u8]) -> Result<()>
fn write_all<'a>(&mut self, _buf: &'a [u8]) -> Result<()>
Attempts to write an entire buffer into this writer. Read more
sourcefn write_fmt(&mut self, _fmt: Arguments<'_>) -> Result<()>
fn write_fmt(&mut self, _fmt: Arguments<'_>) -> Result<()>
Writes a formatted string into this writer, returning any error
encountered. Read more
sourcefn is_write_vectored(&self) -> bool
fn is_write_vectored(&self) -> bool
🔬This is a nightly-only experimental API. (
can_vector
)Auto Trait Implementations
impl RefUnwindSafe for EmptyWrite
impl Send for EmptyWrite
impl Sync for EmptyWrite
impl Unpin for EmptyWrite
impl UnwindSafe for EmptyWrite
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more