Struct axstd::io::StdoutLock
source · pub struct StdoutLock<'a> { /* private fields */ }
Expand description
A locked reference to the Stdout
handle.
Trait Implementations§
source§impl Write for StdoutLock<'_>
impl Write for StdoutLock<'_>
source§fn 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.
source§fn flush(&mut self) -> Result<()>
fn flush(&mut self) -> Result<()>
Flush this output stream, ensuring that all intermediately buffered
contents reach their destination.
Auto Trait Implementations§
impl<'a> !RefUnwindSafe for StdoutLock<'a>
impl<'a> !Send for StdoutLock<'a>
impl<'a> !Sync for StdoutLock<'a>
impl<'a> Unpin for StdoutLock<'a>
impl<'a> !UnwindSafe for StdoutLock<'a>
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more