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