pub struct StdIo<IO>{ /* private fields */ }Available on crate feature
std only.Implementations§
Trait Implementations§
Source§impl<IO> Read for StdIo<IO>
impl<IO> Read for StdIo<IO>
Source§fn read(&mut self, buf: &mut [u8]) -> Result<usize, Self::Error>
fn read(&mut self, buf: &mut [u8]) -> Result<usize, Self::Error>
Read some bytes from this source into the specified buffer, returning how many bytes were read. Read more
Source§fn read_exact(
&mut self,
buf: &mut [u8],
) -> Result<(), ReadExactError<Self::Error>>
fn read_exact( &mut self, buf: &mut [u8], ) -> Result<(), ReadExactError<Self::Error>>
Read the exact number of bytes required to fill
buf. Read moreSource§impl<IO> Write for StdIo<IO>
impl<IO> Write for StdIo<IO>
Source§fn write(&mut self, buf: &[u8]) -> Result<usize, Self::Error>
fn write(&mut self, buf: &[u8]) -> Result<usize, Self::Error>
Write a buffer into this writer, returning how many bytes were written. Read more
Source§fn flush(&mut self) -> Result<(), Self::Error>
fn flush(&mut self) -> Result<(), Self::Error>
Flush this output stream, blocking until all intermediately buffered contents reach their destination.
Auto Trait Implementations§
impl<IO> Freeze for StdIo<IO>where
IO: Freeze,
impl<IO> RefUnwindSafe for StdIo<IO>where
IO: RefUnwindSafe,
impl<IO> Send for StdIo<IO>where
IO: Send,
impl<IO> Sync for StdIo<IO>where
IO: Sync,
impl<IO> Unpin for StdIo<IO>where
IO: Unpin,
impl<IO> UnwindSafe for StdIo<IO>where
IO: UnwindSafe,
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