Module io Copy item path Source prelude std
The I/O Prelude. const_error Experimental std
Creates a new I/O error from a known kind of error and a string literal. BufReader std
The BufReader<R>
struct adds buffering to any reader. BufWriter std
Wraps a writer and buffers its output. Bytes std
An iterator over u8
values of a reader. Chain std
Adapter to chain together two readers. Cursor std
A Cursor
wraps an in-memory buffer and provides it with a
Seek
implementation. Empty std
Empty
ignores any data written via Write
, and will always be empty
(returning zero bytes) when read via Read
.Error std
The error type for I/O operations of the Read
, Write
, Seek
, and
associated traits. IntoInnerError std
An error returned by BufWriter::into_inner
which combines an error that
happened while writing out the buffer, and the buffered writer object
which may be used to recover from the condition. IoSlice std
A buffer type used with Write::write_vectored
. IoSliceMut std
A buffer type used with Read::read_vectored
. LineWriter std
Wraps a writer and buffers output to it, flushing whenever a newline
(0x0a
, '\n'
) is detected. Lines std
An iterator over the lines of an instance of BufRead
. Repeat std
A reader which yields one byte over and over and over and over and over and… Sink std
A writer which will move data into the void. Split std
An iterator over the contents of an instance of BufRead
split on a
particular byte. Stderr std
A handle to the standard error stream of a process. StderrLock std
A locked reference to the Stderr
handle. Stdin std
A handle to the standard input stream of a process. StdinLock std
A locked reference to the Stdin
handle. Stdout std
A handle to the global standard output stream of the current process. StdoutLock std
A locked reference to the Stdout
handle. Take std
Reader adapter which limits the bytes read from an underlying reader. WriterPanicked std
Error returned for the buffered data from BufWriter::into_parts
, when the underlying
writer has previously panicked. Contains the (possibly partly written) buffered data. BorrowedBuf Experimental std
A borrowed byte buffer which is incrementally filled and initialized. BorrowedCursor Experimental std
A writeable view of the unfilled portion of a BorrowedBuf
. PipeReader Experimental std
Read end of an anonymous pipe. PipeWriter Experimental std
Write end of an anonymous pipe. ErrorKind std
A list specifying general categories of I/O error. SeekFrom std
Enumeration of possible methods to seek within an I/O object. BufRead std
A BufRead
is a type of Read
er which has an internal buffer, allowing it
to perform extra ways of reading. IsTerminal std
Trait to determine if a descriptor/handle refers to a terminal/tty. Read std
The Read
trait allows for reading bytes from a source. Seek std
The Seek
trait provides a cursor which can be moved within a stream of
bytes. Write std
A trait for objects which are byte-oriented sinks. copy std
Copies the entire contents of a reader into a writer. empty std
Creates a value that is always at EOF for reads, and ignores all data written. read_to_string std
Reads all bytes from a reader into a new String
. repeat std
Creates an instance of a reader that infinitely repeats one byte. sink std
Creates an instance of a writer which will successfully consume all data. stderr std
Constructs a new handle to the standard error of the current process. stdin std
Constructs a new handle to the standard input of the current process. stdout std
Constructs a new handle to the standard output of the current process. pipe Experimental std
Create an anonymous pipe. Result std
A specialized Result
type for I/O operations. RawOsError Experimental std
The type of raw OS error codes returned by Error::raw_os_error
.