Expand description
Serial input and output functionality.
This module aims to provide a very similar API to the Rust standard library’s std::io module.
Macros§
- Prints and returns the value of a given expression for quick and dirty debugging.
- Prints a message to the standard output.
- Prints a message to the standard output and appends a newline.
Structs§
- An iterator over
u8values of a reader. - Adaptor to chain together two readers.
- A
Cursorwraps an in-memory buffer and provides it with aSeekimplementation. - A handle to the serial input stream of this program.
- A locked serial input stream. Only one of these can exist at a time and reads occur without waiting.
- A handle to the serial output stream of this program.
- A locked serial output stream. Only one of these can exist at a time and writes occur without waiting.
- Reader adaptor which limits the bytes read from an underlying reader.
Enums§
- A list specifying general categories of I/O error.
- Enumeration of possible methods to seek within an I/O object.
Traits§
- A
BufReadis a type ofReader which has an internal buffer, allowing it to perform extra ways of reading. - The
Readtrait allows for reading bytes from a source. - The
Seektrait provides a cursor which can be moved within a stream of bytes. - A trait for objects which are byte-oriented sinks.
Functions§
- Constructs a handle to the serial input stream.
- Constructs a handle to the serial output stream
Type Aliases§
- A specialized
Resulttype for I/O operations.