Struct cluExtIO::FlushLockWrite
source · pub struct FlushLockWrite<'a, T: ExtWrite<'a>>(_, _);
Expand description
An implementation of Trait Write
that calls the flush() method when removing a lock.
Implementations
sourceimpl<'a, T: ExtWrite<'a>> FlushLockWrite<'a, T>
impl<'a, T: ExtWrite<'a>> FlushLockWrite<'a, T>
Trait Implementations
sourceimpl<'a, T: ExtWrite<'a> + Clone> Clone for FlushLockWrite<'a, T>
impl<'a, T: ExtWrite<'a> + Clone> Clone for FlushLockWrite<'a, T>
sourceimpl<'a, T: Debug + ExtWrite<'a>> Debug for FlushLockWrite<'a, T>
impl<'a, T: Debug + ExtWrite<'a>> Debug for FlushLockWrite<'a, T>
sourceimpl<'a, T: ExtWrite<'a>> ExtWrite<'a> for FlushLockWrite<'a, T>
impl<'a, T: ExtWrite<'a>> ExtWrite<'a> for FlushLockWrite<'a, T>
sourceimpl<'a, T: ExtWrite<'a>> From<T> for FlushLockWrite<'a, T>
impl<'a, T: ExtWrite<'a>> From<T> for FlushLockWrite<'a, T>
sourceimpl<'a, T: ExtWrite<'a>> Write for FlushLockWrite<'a, T>
impl<'a, T: ExtWrite<'a>> Write for FlushLockWrite<'a, 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<'a, T> RefUnwindSafe for FlushLockWrite<'a, T>where
T: RefUnwindSafe,
impl<'a, T> Send for FlushLockWrite<'a, T>where
T: Send,
impl<'a, T> Sync for FlushLockWrite<'a, T>where
T: Sync,
impl<'a, T> Unpin for FlushLockWrite<'a, T>where
T: Unpin,
impl<'a, T> UnwindSafe for FlushLockWrite<'a, T>where
T: UnwindSafe,
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