Struct cluExtIO::MutexWrite
source · pub struct MutexWrite<T: Write>(_);
Expand description
Combining multiple Trait Write
into one common.
Implementations
Trait Implementations
sourceimpl<T: Write + Clone> Clone for MutexWrite<T>
impl<T: Write + Clone> Clone for MutexWrite<T>
sourceimpl<T: Debug + Write> Debug for MutexWrite<T>
impl<T: Debug + Write> Debug for MutexWrite<T>
sourceimpl<'a, T: 'a + Write> ExtWrite<'a> for MutexWrite<T>
impl<'a, T: 'a + Write> ExtWrite<'a> for MutexWrite<T>
sourceimpl<T: Write> From<Mutex<T>> for MutexWrite<T>
impl<T: Write> From<Mutex<T>> for MutexWrite<T>
sourceimpl<T: Write> From<T> for MutexWrite<T>
impl<T: Write> From<T> for MutexWrite<T>
sourceimpl<T: Write> Write for MutexWrite<T>
impl<T: Write> Write for MutexWrite<T>
sourcefn write(&mut self, buf: &[u8]) -> Result<usize>
fn write(&mut self, buf: &[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(&mut self, buf: &[u8]) -> Result<()>
fn write_all(&mut self, buf: &[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<T> RefUnwindSafe for MutexWrite<T>
impl<T> Send for MutexWrite<T>where
T: Send,
impl<T> Sync for MutexWrite<T>where
T: Send,
impl<T> Unpin for MutexWrite<T>where
T: Unpin,
impl<T> UnwindSafe for MutexWrite<T>
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