Expand description
A tiny, no_std
-friendly facade around std::io
.
Reexports types from std
when available; otherwise reimplements and
provides some of the core logic.
The main reason that std::io
hasn’t found itself reexported as part of
the core
crate is the std::io::{Read, Write}
traits’ reliance on
std::io::Error
, which may contain internally a heap-allocated Box<Error>
and/or now relying on OS-specific std::backtrace::Backtrace
.
Structs§
- Bytes
- An iterator over
u8
values of a reader. - Error
- The error type for I/O operations of the
Read
,Write
,Seek
, and associated traits.
Enums§
- Error
Kind - A list specifying general categories of I/O error.
Traits§
- Read
- The
Read
trait allows for reading bytes from a source. - Write
- A trait for objects which are byte-oriented sinks.