Module serde_json::io

source ·
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§

  • An iterator over u8 values of a reader.
  • The error type for I/O operations of the Read, Write, Seek, and associated traits.

Enums§

  • A list specifying general categories of I/O error.

Traits§

  • The Read trait allows for reading bytes from a source.
  • A trait for objects which are byte-oriented sinks.

Type Aliases§